Skip to content

Commit fc6a2b1

Browse files
committed
TypeSpecifier as an interface
1 parent 1a8a657 commit fc6a2b1

File tree

6 files changed

+2650
-2623
lines changed

6 files changed

+2650
-2623
lines changed

phpstan-baseline.neon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,19 @@ parameters:
100100
rawMessage: 'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
101101
identifier: phpstanApi.instanceofType
102102
count: 2
103-
path: src/Analyser/TypeSpecifier.php
103+
path: src/Analyser/LegacyTypeSpecifier.php
104104

105105
-
106106
rawMessage: 'Doing instanceof PHPStan\Type\Constant\ConstantBooleanType is error-prone and deprecated. Use Type::isTrue() or Type::isFalse() instead.'
107107
identifier: phpstanApi.instanceofType
108108
count: 5
109-
path: src/Analyser/TypeSpecifier.php
109+
path: src/Analyser/LegacyTypeSpecifier.php
110110

111111
-
112112
rawMessage: 'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
113113
identifier: phpstanApi.instanceofType
114114
count: 4
115-
path: src/Analyser/TypeSpecifier.php
115+
path: src/Analyser/LegacyTypeSpecifier.php
116116

117117
-
118118
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

Comments
 (0)