Skip to content

Commit a085177

Browse files
committed
Update phpstan
1 parent 689e4f5 commit a085177

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

phpstan-baseline.neon

+7-22
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ parameters:
4545
count: 1
4646
path: src/DependencyInjection/SentryExtension.php
4747

48+
-
49+
message: "#^Cannot access offset 'http_client' on mixed\\.$#"
50+
count: 1
51+
path: src/DependencyInjection/SentryExtension.php
52+
4853
-
4954
message: "#^Cannot access offset 'in_app_exclude' on mixed\\.$#"
5055
count: 2
@@ -61,7 +66,7 @@ parameters:
6166
path: src/DependencyInjection/SentryExtension.php
6267

6368
-
64-
message: "#^Class Symfony\\\\Component\\\\Debug\\\\Exception\\\\FatalErrorException not found\\.$#"
69+
message: "#^Cannot access offset 'transport' on mixed\\.$#"
6570
count: 1
6671
path: src/DependencyInjection/SentryExtension.php
6772

@@ -77,7 +82,7 @@ parameters:
7782

7883
-
7984
message: "#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#"
80-
count: 6
85+
count: 7
8186
path: src/DependencyInjection/SentryExtension.php
8287

8388
-
@@ -130,11 +135,6 @@ parameters:
130135
count: 4
131136
path: src/DependencyInjection/SentryExtension.php
132137

133-
-
134-
message: "#^Parameter \\#2 \\$registerErrorListener of method Sentry\\\\SentryBundle\\\\DependencyInjection\\\\SentryExtension\\:\\:configureErrorListenerIntegration\\(\\) expects bool, mixed given\\.$#"
135-
count: 1
136-
path: src/DependencyInjection/SentryExtension.php
137-
138138
-
139139
message: "#^Parameter \\#2 \\$useDefaultIntegrations of method Sentry\\\\SentryBundle\\\\DependencyInjection\\\\SentryExtension\\:\\:configureRequestIntegration\\(\\) expects bool, mixed given\\.$#"
140140
count: 1
@@ -150,11 +150,6 @@ parameters:
150150
count: 1
151151
path: src/EventListener/AbstractTracingRequestListener.php
152152

153-
-
154-
message: "#^Class Sentry\\\\SentryBundle\\\\EventListener\\\\ConsoleCommandListener extends @final class Sentry\\\\SentryBundle\\\\EventListener\\\\ConsoleListener\\.$#"
155-
count: 1
156-
path: src/EventListener/ConsoleCommandListener.php
157-
158153
-
159154
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\KernelEvent\\:\\:isMasterRequest\\(\\)\\.$#"
160155
count: 1
@@ -255,11 +250,6 @@ parameters:
255250
count: 1
256251
path: tests/DependencyInjection/Fixtures/php/release_option_fallback_to_env_var.php
257252

258-
-
259-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
260-
count: 1
261-
path: tests/DependencyInjection/SentryExtensionTest.php
262-
263253
-
264254
message: "#^Cannot access offset 'dsn' on mixed\\.$#"
265255
count: 1
@@ -275,11 +265,6 @@ parameters:
275265
count: 1
276266
path: tests/DependencyInjection/SentryExtensionTest.php
277267

278-
-
279-
message: "#^Class Symfony\\\\Component\\\\Debug\\\\Exception\\\\FatalErrorException not found\\.$#"
280-
count: 1
281-
path: tests/DependencyInjection/SentryExtensionTest.php
282-
283268
-
284269
message: "#^Class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Client not found\\.$#"
285270
count: 1

0 commit comments

Comments
 (0)