Skip to content

Commit 8f578af

Browse files
authored
Use PreferGenericTemplateOnSameUnionTypeRule from symplify/phpstan-rules (#8639)
1 parent db207c7 commit 8f578af

6 files changed

Lines changed: 1 addition & 203 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"shipmonk/dead-code-detector": "^1.4",
5353
"symfony/process": "^8.1",
5454
"symplify/easy-coding-standard": "^13.3.5",
55-
"symplify/phpstan-rules": "^14.18",
55+
"symplify/phpstan-rules": "^14.18.2",
5656
"tomasvotruba/class-leak": "^2.3.4",
5757
"tomasvotruba/fast-unit": "^0.1",
5858
"tomasvotruba/type-coverage": "^2.3.6",

‎phpstan.neon‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ includes:
44
rules:
55
- Rector\Utils\PHPStan\Rule\RegisterRelatedPolyfillRectorRule
66
- Rector\Utils\PHPStan\Rule\NoScopeFetchBeforeCheapGuardRule
7-
- Rector\Utils\PHPStan\Rule\PreferGenericTemplateOnSameUnionTypeRule
87
- Rector\Utils\PHPStan\Rule\NarrowReturnToUnionParamRule
98

109
parameters:

‎utils/phpstan/src/Rule/PreferGenericTemplateOnSameUnionTypeRule.php‎

Lines changed: 0 additions & 121 deletions
This file was deleted.

‎utils/phpstan/tests/Rule/PreferGenericTemplateOnSameUnionTypeRule/PreferGenericTemplateOnSameUnionTypeRuleTest.php‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎utils/phpstan/tests/Rule/PreferGenericTemplateOnSameUnionTypeRule/Source/SameUnionParamAndReturn.php‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎utils/phpstan/tests/Rule/PreferGenericTemplateOnSameUnionTypeRule/Source/SkipGenericTemplate.php‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)