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
+
rawMessage:'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
+
rawMessage:'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
+
rawMessage:'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
+
rawMessage:'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
+
rawMessage:'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
+
rawMessage:'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
+
rawMessage:'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
+
rawMessage:'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
+
rawMessage:'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
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
47
101
identifier:phpstanApi.instanceofType
@@ -54,6 +108,18 @@ parameters:
54
108
count:1
55
109
path:src/Analyser/NodeScopeResolver.php
56
110
111
+
-
112
+
rawMessage:'Parameter $parameterClosureTypeExtensionProvider of method PHPStan\Analyser\NodeScopeResolver::__construct() has typehint with deprecated interface PHPStan\DependencyInjection\Type\ParameterClosureTypeExtensionProvider.'
113
+
identifier:parameter.deprecatedInterface
114
+
count:1
115
+
path:src/Analyser/NodeScopeResolver.php
116
+
117
+
-
118
+
rawMessage:Property $parameterClosureTypeExtensionProvider references deprecated interface PHPStan\DependencyInjection\Type\ParameterClosureTypeExtensionProvider in its type.
119
+
identifier:property.deprecatedInterface
120
+
count:1
121
+
path:src/Analyser/NodeScopeResolver.php
122
+
57
123
-
58
124
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantBooleanType is error-prone and deprecated. Use Type::isTrue() or Type::isFalse() instead.'
59
125
identifier:phpstanApi.instanceofType
@@ -216,6 +282,42 @@ parameters:
216
282
count:1
217
283
path:src/DependencyInjection/NeonAdapter.php
218
284
285
+
-
286
+
rawMessage:Access to constant on deprecated interface PHPStan\Type\FunctionParameterClosureTypeExtension.
rawMessage: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.
221
323
identifier:phpstanApi.runtimeReflection
@@ -771,6 +873,18 @@ parameters:
771
873
count:1
772
874
path:src/Testing/PHPStanTestCase.php
773
875
876
+
-
877
+
rawMessage:Access to constant on deprecated interface PHPStan\DependencyInjection\Type\ParameterClosureTypeExtensionProvider.
878
+
identifier:classConstant.deprecatedInterface
879
+
count:1
880
+
path:src/Testing/RuleTestCase.php
881
+
882
+
-
883
+
rawMessage:Access to constant on deprecated interface PHPStan\DependencyInjection\Type\ParameterClosureTypeExtensionProvider.
884
+
identifier:classConstant.deprecatedInterface
885
+
count:1
886
+
path:src/Testing/TypeInferenceTestCase.php
887
+
774
888
-
775
889
rawMessage:'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
0 commit comments