Skip to content

Commit a5c5d60

Browse files
committed
cs
1 parent d051cbe commit a5c5d60

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"phpunit/phpunit": "^11.5",
1414
"rector/rector-src": "dev-main",
1515
"symplify/easy-coding-standard": "^12.3",
16+
"symplify/phpstan-rules": "^14.9",
1617
"symplify/rule-doc-generator": "^12.2",
1718
"symplify/vendor-patches": "^11.5",
1819
"tomasvotruba/class-leak": "^1.0",

phpstan.neon

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ parameters:
5757
- '#Doing instanceof PHPStan\\Type\\.+ is error\-prone and deprecated#'
5858

5959
# phpstan instanceof
60-
-
61-
identifier: phpstanApi.instanceofAssumption
62-
63-
-
64-
identifier: phpstanApi.varTagAssumption
60+
- identifier: phpstanApi.instanceofAssumption
61+
- identifier: phpstanApi.varTagAssumption
62+
- '#Asking about instanceof PHPStan\\.* is not covered by backward compatibility promise#'
6563

6664
-
6765
identifier: argument.type
68-
69-
- '#Asking about instanceof PHPStan\\.* is not covered by backward compatibility promise#'
66+
paths:
67+
- rules/DowngradePhp85/Rector/StmtsAwareInterface/DowngradePipeOperatorRector.php
68+
- rules/DowngradePhp85/Rector/Class_/DowngradeFinalPropertyPromotionRector.php
69+
- rules/DowngradePhp80/Rector/New_/DowngradeArbitraryExpressionsSupportRector.php
7070

7171
# false positive intanceof in OR usage
7272
-

0 commit comments

Comments
 (0)