Skip to content

Commit 82aa655

Browse files
phpstan-botclaude
authored andcommitted
Add instanceof ConstantArrayType to phpstan baseline
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 83bcddf commit 82aa655

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpstan-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,6 +1581,12 @@ parameters:
15811581
count: 1
15821582
path: src/Type/Php/FunctionExistsFunctionTypeSpecifyingExtension.php
15831583

1584+
-
1585+
rawMessage: 'Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.'
1586+
identifier: phpstanApi.instanceofType
1587+
count: 1
1588+
path: src/Type/Php/InArrayFunctionTypeSpecifyingExtension.php
1589+
15841590
-
15851591
rawMessage: 'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
15861592
identifier: phpstanApi.instanceofType

0 commit comments

Comments
 (0)