-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
51 lines (46 loc) · 2.56 KB
/
phpstan-baseline.neon
File metadata and controls
51 lines (46 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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: '''
#^Access to constant on deprecated class Laminas\\View\\ViewEvent\:
Since 2\.40\.0\. This class will be removed in 3\.0 without replacement when laminas\-view removes support
for rendering strategies\.$#
'''
identifier: classConstant.deprecatedClass
count: 1
path: src/Type/Laminas/ServiceGetterDynamicReturnTypeExtension/ViewEventGetterDynamicReturnTypeExtension.php
-
message: '''
#^Access to constant on deprecated class Laminas\\View\\View\:
Since 2\.40\.0\. This class will be removed in 3\.0 when laminas\-view removes support for rendering
strategies\. It is possible that Laminas\\View\\View will be re\-introduced as a class with the sole
purpose of implementing the 2\-step view via a `render` method, however all other functionality will be
removed entirely\.$#
'''
identifier: classConstant.deprecatedClass
count: 1
path: src/Type/Laminas/ServiceGetterDynamicReturnTypeExtension/ViewGetterDynamicReturnTypeExtension.php
-
message: '''
#^Access to constant on deprecated class Laminas\\View\\Helper\\AbstractHelper\:
Since 2\.40\.0\. This class will be remove in 3\.0 without replacement\. View helpers should be constructed
with their dependencies, therefore the setters and getters here become irrelevant\.$#
'''
identifier: classConstant.deprecatedClass
count: 1
path: src/Type/Laminas/ServiceGetterDynamicReturnTypeExtension/ViewHelperGetterDynamicReturnTypeExtension.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