You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+126Lines changed: 126 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,60 @@ parameters:
42
42
count:1
43
43
path:src/Analyser/MutatingScope.php
44
44
45
+
-
46
+
message:'#^Call to method getFunctionParameterClosureTypeExtensions\(\) of deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider\.$#'
47
+
identifier:method.deprecatedInterface
48
+
count:1
49
+
path:src/Analyser/NodeScopeResolver.php
50
+
51
+
-
52
+
message:'#^Call to method getMethodParameterClosureTypeExtensions\(\) of deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider\.$#'
53
+
identifier:method.deprecatedInterface
54
+
count:1
55
+
path:src/Analyser/NodeScopeResolver.php
56
+
57
+
-
58
+
message:'#^Call to method getStaticMethodParameterClosureTypeExtensions\(\) of deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider\.$#'
59
+
identifier:method.deprecatedInterface
60
+
count:1
61
+
path:src/Analyser/NodeScopeResolver.php
62
+
63
+
-
64
+
message:'#^Call to method getTypeFromFunctionCall\(\) of deprecated interface PHPStan\\Type\\FunctionParameterClosureTypeExtension\.$#'
65
+
identifier:method.deprecatedInterface
66
+
count:1
67
+
path:src/Analyser/NodeScopeResolver.php
68
+
69
+
-
70
+
message:'#^Call to method getTypeFromMethodCall\(\) of deprecated interface PHPStan\\Type\\MethodParameterClosureTypeExtension\.$#'
71
+
identifier:method.deprecatedInterface
72
+
count:1
73
+
path:src/Analyser/NodeScopeResolver.php
74
+
75
+
-
76
+
message:'#^Call to method getTypeFromStaticMethodCall\(\) of deprecated interface PHPStan\\Type\\StaticMethodParameterClosureTypeExtension\.$#'
77
+
identifier:method.deprecatedInterface
78
+
count:1
79
+
path:src/Analyser/NodeScopeResolver.php
80
+
81
+
-
82
+
message:'#^Call to method isFunctionSupported\(\) of deprecated interface PHPStan\\Type\\FunctionParameterClosureTypeExtension\.$#'
83
+
identifier:method.deprecatedInterface
84
+
count:1
85
+
path:src/Analyser/NodeScopeResolver.php
86
+
87
+
-
88
+
message:'#^Call to method isMethodSupported\(\) of deprecated interface PHPStan\\Type\\MethodParameterClosureTypeExtension\.$#'
89
+
identifier:method.deprecatedInterface
90
+
count:1
91
+
path:src/Analyser/NodeScopeResolver.php
92
+
93
+
-
94
+
message:'#^Call to method isStaticMethodSupported\(\) of deprecated interface PHPStan\\Type\\StaticMethodParameterClosureTypeExtension\.$#'
95
+
identifier:method.deprecatedInterface
96
+
count:1
97
+
path:src/Analyser/NodeScopeResolver.php
98
+
45
99
-
46
100
message:'#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
47
101
identifier:phpstanApi.instanceofType
@@ -60,6 +114,18 @@ parameters:
60
114
count:1
61
115
path:src/Analyser/NodeScopeResolver.php
62
116
117
+
-
118
+
message:'#^Parameter \$parameterClosureTypeExtensionProvider of method PHPStan\\Analyser\\NodeScopeResolver\:\:__construct\(\) has typehint with deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider\.$#'
119
+
identifier:parameter.deprecatedInterface
120
+
count:1
121
+
path:src/Analyser/NodeScopeResolver.php
122
+
123
+
-
124
+
message:'#^Property \$parameterClosureTypeExtensionProvider references deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider in its type\.$#'
125
+
identifier:property.deprecatedInterface
126
+
count:1
127
+
path:src/Analyser/NodeScopeResolver.php
128
+
63
129
-
64
130
message:'#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
65
131
identifier:phpstanApi.instanceofType
@@ -222,6 +288,42 @@ parameters:
222
288
count:1
223
289
path:src/DependencyInjection/NeonAdapter.php
224
290
291
+
-
292
+
message:'#^Access to constant on deprecated interface PHPStan\\Type\\FunctionParameterClosureTypeExtension\.$#'
message:'#^Fetching class constant STATIC_METHOD_TAG of deprecated class PHPStan\\DependencyInjection\\Type\\LazyParameterClosureTypeExtensionProvider\.$#'
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\.$#'
227
329
identifier:phpstanApi.runtimeReflection
@@ -777,6 +879,18 @@ parameters:
777
879
count:1
778
880
path:src/Testing/PHPStanTestCase.php
779
881
882
+
-
883
+
message:'#^Access to constant on deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider\.$#'
884
+
identifier:classConstant.deprecatedInterface
885
+
count:1
886
+
path:src/Testing/RuleTestCase.php
887
+
888
+
-
889
+
message:'#^Access to constant on deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider\.$#'
890
+
identifier:classConstant.deprecatedInterface
891
+
count:1
892
+
path:src/Testing/TypeInferenceTestCase.php
893
+
780
894
-
781
895
message:'#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#'
message:'#^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$#'
1664
1784
identifier:phpstanApi.instanceofType
@@ -1893,6 +2013,12 @@ parameters:
1893
2013
count:2
1894
2014
path:src/Type/VoidType.php
1895
2015
2016
+
-
2017
+
message:'#^Access to constant on deprecated interface PHPStan\\DependencyInjection\\Type\\ParameterClosureTypeExtensionProvider\.$#'
0 commit comments