Skip to content

Commit 2f9ec7b

Browse files
authored
[deprecations] Remove long-deprecated rules (5+ mnths) (#8094)
Remove 7 rules deprecated between 2025-10 and 2025-12, plus the now-unused ClassMethodReference value object: - ReturnTypeWillChangeRector - AddLiteralSeparatorToNumberRector - IncreaseDeclareStrictTypesRector - FunctionLikeToFirstClassCallableRector - FirstClassCallableRector - SymplifyQuoteEscapeRector - SortNamedParamRector Also drop their now-obsolete phpstan.neon ignore entries.
1 parent 697f4c9 commit 2f9ec7b

9 files changed

Lines changed: 0 additions & 533 deletions

File tree

‎phpstan.neon‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -393,16 +393,11 @@ parameters:
393393
-
394394
identifier: public.method.unused
395395
paths:
396-
- rules/Transform/ValueObject/ClassMethodReference.php
397396
- rules/CodeQuality/ValueObject/KeyAndExpr.php
398-
-
399-
identifier: symplify.forbiddenExtendOfNonAbstractClass
400-
path: rules/Php81/Rector/Array_/FirstClassCallableRector.php
401397

402398
-
403399
identifier: public.classConstant.unused
404400
paths:
405-
- rules/TypeDeclaration/Rector/StmtsAwareInterface/IncreaseDeclareStrictTypesRector.php
406401
- rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php
407402
- rules/Php81/Enum/AttributeName.php
408403

@@ -412,11 +407,8 @@ parameters:
412407
- tests/PhpParser/NodeTraverser/StopTraverseOnTypeChange/Class_
413408

414409
# deprecated rule
415-
- '#Rule Rector\\Php81\\Rector\\Array_\\FirstClassCallableRector must implements Rector\\VersionBonding\\Contract\\MinPhpVersionInterface#'
416-
- '#Register "Rector\\Php81\\Rector\\Array_\\FirstClassCallableRector" service to "php81\.php" config set#'
417410
- '#Register "Rector\\Php81\\Rector\\ClassMethod\\NewInInitializerRector" service to "php81\.php" config set#'
418411
- '#Register "Rector\\Php70\\Rector\\StaticCall\\StaticCallOnNonStaticToInstanceCallRector" service to "php70\.php" config set#'
419-
- '#Class "Rector\\CodingStyle\\Rector\\String_\\SymplifyQuoteEscapeRector" is missing @see annotation with test case class reference#'
420412
- '#Class "Rector\\Php81\\Rector\\ClassMethod\\NewInInitializerRector" is missing @see annotation with test case class reference#'
421413
- '#Class "Rector\\Php70\\Rector\\StaticCall\\StaticCallOnNonStaticToInstanceCallRector" is missing @see annotation with test case class reference#'
422414
- '#Class "Rector\\TypeDeclaration\\Rector\\ClassMethod\\StrictStringParamConcatRector" is missing @see annotation with test case class reference#'

‎rules/CodeQuality/Rector/FuncCall/SortNamedParamRector.php‎

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

‎rules/CodingStyle/Rector/FunctionLike/FunctionLikeToFirstClassCallableRector.php‎

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

‎rules/CodingStyle/Rector/String_/SymplifyQuoteEscapeRector.php‎

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

‎rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php‎

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

‎rules/Php81/Rector/Array_/FirstClassCallableRector.php‎

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

0 commit comments

Comments
 (0)