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.
23
35
identifier:cast.useless
@@ -36,12 +48,36 @@ parameters:
36
48
count:3
37
49
path:src/Analyser/Generator/GeneratorScope.php
38
50
51
+
-
52
+
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.'
65
+
identifier:phpstanApi.instanceofType
66
+
count:2
67
+
path:src/Analyser/LegacyTypeSpecifier.php
68
+
69
+
-
70
+
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantBooleanType is error-prone and deprecated. Use Type::isTrue() or Type::isFalse() instead.'
71
+
identifier:phpstanApi.instanceofType
72
+
count:5
73
+
path:src/Analyser/LegacyTypeSpecifier.php
74
+
75
+
-
76
+
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
77
+
identifier:phpstanApi.instanceofType
78
+
count:4
79
+
path:src/Analyser/LegacyTypeSpecifier.php
80
+
45
81
-
46
82
rawMessage:Casting to string something that's already string.
47
83
identifier:cast.useless
@@ -96,24 +132,6 @@ parameters:
96
132
count:1
97
133
path:src/Analyser/RuleErrorTransformer.php
98
134
99
-
-
100
-
rawMessage:'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
101
-
identifier:phpstanApi.instanceofType
102
-
count:2
103
-
path:src/Analyser/LegacyTypeSpecifier.php
104
-
105
-
-
106
-
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantBooleanType is error-prone and deprecated. Use Type::isTrue() or Type::isFalse() instead.'
107
-
identifier:phpstanApi.instanceofType
108
-
count:5
109
-
path:src/Analyser/LegacyTypeSpecifier.php
110
-
111
-
-
112
-
rawMessage:'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
113
-
identifier:phpstanApi.instanceofType
114
-
count:4
115
-
path:src/Analyser/LegacyTypeSpecifier.php
116
-
117
135
-
118
136
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