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
rawMessage:'Method PHPStan\Analyser\Generator\ExprHandler\EqualHandler::resolveEqualSpecifiedTypes() should return array{PHPStan\Analyser\SpecifiedTypes, PHPStan\Analyser\SpecifiedTypes} but returns PHPStan\Analyser\SpecifiedTypes.'
rawMessage:Casting to string something that's already string.
47
-
identifier:cast.useless
48
-
count:4
49
-
path:src/Analyser/Generator/GeneratorScope.php
50
-
51
-
-
52
-
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantBooleanType is error-prone and deprecated. Use Type::isTrue() or Type::isFalse() instead.'
53
-
identifier:phpstanApi.instanceofType
54
-
count:1
55
-
path:src/Analyser/Generator/GeneratorScope.php
56
-
57
-
-
58
-
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
59
-
identifier:phpstanApi.instanceofType
60
-
count:3
61
-
path:src/Analyser/Generator/GeneratorScope.php
62
-
63
-
-
64
-
rawMessage:'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
rawMessage:'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
77
-
identifier:phpstanApi.instanceofType
78
-
count:2
79
-
path:src/Analyser/LegacyTypeSpecifier.php
80
-
81
-
-
82
-
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantBooleanType is error-prone and deprecated. Use Type::isTrue() or Type::isFalse() instead.'
83
-
identifier:phpstanApi.instanceofType
84
-
count:5
85
-
path:src/Analyser/LegacyTypeSpecifier.php
86
-
87
-
-
88
-
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
89
-
identifier:phpstanApi.instanceofType
90
-
count:4
91
-
path:src/Analyser/LegacyTypeSpecifier.php
92
-
93
21
-
94
22
rawMessage:Casting to string something that's already string.
95
23
identifier:cast.useless
@@ -144,6 +72,24 @@ parameters:
144
72
count:1
145
73
path:src/Analyser/RuleErrorTransformer.php
146
74
75
+
-
76
+
rawMessage:'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
77
+
identifier:phpstanApi.instanceofType
78
+
count:2
79
+
path:src/Analyser/TypeSpecifier.php
80
+
81
+
-
82
+
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantBooleanType is error-prone and deprecated. Use Type::isTrue() or Type::isFalse() instead.'
83
+
identifier:phpstanApi.instanceofType
84
+
count:5
85
+
path:src/Analyser/TypeSpecifier.php
86
+
87
+
-
88
+
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
89
+
identifier:phpstanApi.instanceofType
90
+
count:4
91
+
path:src/Analyser/TypeSpecifier.php
92
+
147
93
-
148
94
rawMessage:'Template type TNodeType is declared as covariant, but occurs in contravariant position in parameter node of method PHPStan\Collectors\Collector::processNode().'
0 commit comments