diff --git a/composer.json b/composer.json index 035f1072..97be7266 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "rector/swiss-knife": "^2.4", "symplify/easy-coding-standard": "^13.2", "symplify/phpstan-extensions": "^12.0", - "symplify/phpstan-rules": "^14.12", + "symplify/phpstan-rules": "^14.13.1", "symplify/rule-doc-generator": "^12.2", "tomasvotruba/class-leak": "^2.1", "tomasvotruba/type-coverage": "^2.3", diff --git a/rules/DowngradePhp80/Rector/FuncCall/DowngradeSubstrFalsyRector.php b/rules/DowngradePhp80/Rector/FuncCall/DowngradeSubstrFalsyRector.php index 4678d903..1f421208 100644 --- a/rules/DowngradePhp80/Rector/FuncCall/DowngradeSubstrFalsyRector.php +++ b/rules/DowngradePhp80/Rector/FuncCall/DowngradeSubstrFalsyRector.php @@ -178,7 +178,6 @@ public function refactor(Node $node): ?Node } } - // @phpstan-ignore rector.rectorCheaperGuardsFirst (cannot hoist above the CallLike block, which marks IS_FALSY_UNCASTABLE on non-substr nodes) if (! $this->isName($node, 'substr')) { return null; }