Skip to content

Commit 8e16e33

Browse files
committed
wip
1 parent d25139a commit 8e16e33

File tree

1 file changed

+1
-61
lines changed

1 file changed

+1
-61
lines changed

phpstan-baseline.neon

+1-61
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,6 @@ parameters:
411411
count: 1
412412
path: src/Reflection/SignatureMap/Php8SignatureMapProvider.php
413413

414-
-
415-
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$#'
416-
identifier: phpstanApi.instanceofType
417-
count: 1
418-
path: src/Rules/Api/NodeConnectingVisitorAttributesRule.php
419-
420414
-
421415
message: '#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#'
422416
identifier: phpstanApi.instanceofType
@@ -429,12 +423,6 @@ parameters:
429423
count: 2
430424
path: src/Rules/Classes/ImpossibleInstanceOfRule.php
431425

432-
-
433-
message: '#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
434-
identifier: phpstanApi.instanceofType
435-
count: 2
436-
path: src/Rules/Classes/RequireExtendsRule.php
437-
438426
-
439427
message: '#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
440428
identifier: phpstanApi.instanceofType
@@ -459,12 +447,6 @@ parameters:
459447
count: 6
460448
path: src/Rules/Comparison/BooleanOrConstantConditionRule.php
461449

462-
-
463-
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
464-
identifier: phpstanApi.instanceofType
465-
count: 2
466-
path: src/Rules/Comparison/ConstantLooseComparisonRule.php
467-
468450
-
469451
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
470452
identifier: phpstanApi.instanceofType
@@ -492,7 +474,7 @@ parameters:
492474
-
493475
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
494476
identifier: phpstanApi.instanceofType
495-
count: 2
477+
count: 1
496478
path: src/Rules/Comparison/ImpossibleCheckTypeHelper.php
497479

498480
-
@@ -645,18 +627,6 @@ parameters:
645627
count: 1
646628
path: src/Rules/Methods/StaticMethodCallCheck.php
647629

648-
-
649-
message: '#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
650-
identifier: phpstanApi.instanceofType
651-
count: 1
652-
path: src/Rules/PhpDoc/RequireExtendsCheck.php
653-
654-
-
655-
message: '#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
656-
identifier: phpstanApi.instanceofType
657-
count: 1
658-
path: src/Rules/PhpDoc/RequireImplementsDefinitionTraitRule.php
659-
660630
-
661631
message: '#^Doing instanceof PHPStan\\Type\\Generic\\GenericObjectType is error\-prone and deprecated\.$#'
662632
identifier: phpstanApi.instanceofType
@@ -675,36 +645,6 @@ parameters:
675645
count: 1
676646
path: src/Rules/RuleLevelHelper.php
677647

678-
-
679-
message: '#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
680-
identifier: phpstanApi.instanceofType
681-
count: 2
682-
path: src/Rules/RuleLevelHelper.php
683-
684-
-
685-
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
686-
identifier: phpstanApi.instanceofType
687-
count: 1
688-
path: src/Rules/TooWideTypehints/TooWideMethodReturnTypehintRule.php
689-
690-
-
691-
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$#'
692-
identifier: phpstanApi.instanceofType
693-
count: 1
694-
path: src/Rules/UnusedFunctionParametersCheck.php
695-
696-
-
697-
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantArrayType is error\-prone and deprecated\. Use Type\:\:getConstantArrays\(\) instead\.$#'
698-
identifier: phpstanApi.instanceofType
699-
count: 1
700-
path: src/Rules/Variables/CompactVariablesRule.php
701-
702-
-
703-
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$#'
704-
identifier: phpstanApi.instanceofType
705-
count: 1
706-
path: src/Rules/Variables/CompactVariablesRule.php
707-
708648
-
709649
message: '''
710650
#^Call to deprecated method assertFileNotExists\(\) of class PHPUnit\\Framework\\Assert\:

0 commit comments

Comments
 (0)