-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
phpstan-baseline.neon
19 lines (17 loc) · 1.03 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
ignoreErrors:
-
message: '#^Creating new ReflectionClass is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine\. Use objects retrieved from ReflectionProvider instead\.$#'
identifier: phpstanApi.runtimeReflection
count: 1
path: src/Rules/Laminas/ServiceManagerGetMethodCallRule.php
-
message: '#^Creating new ReflectionClass is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine\. Use objects retrieved from ReflectionProvider instead\.$#'
identifier: phpstanApi.runtimeReflection
count: 2
path: src/Type/Laminas/AbstractServiceLocatorGetDynamicReturnTypeExtension.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''LaminasPhpStan\\\\TestAsset\\\\BarService'' and Laminas\\Stdlib\\DispatchableInterface will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 1
path: tests/Type/Laminas/ServiceManagerLoaderTest.php