rector/rules-tests/DeadCode/Rector
Abdul Malik Ikhsan 68906c7e17
[DeadCode] Skip used in compact() on RemoveUnusedConstructorParamRector (#2345)
* [DeadCode] Skip used in compact() on RemoveUnusedConstructorParamRector

* Fixed 🎉

* phpstan

* phpstan

* [ci-review] Rector Rectify

Co-authored-by: GitHub Action <action@github.com>
2022-05-22 13:42:14 +02:00
..
Array_/RemoveDuplicatedArrayKeyRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Assign Decouple aliased object type specifier + updgrade to PHPStan 1.6 (#2170) 2022-04-26 11:42:01 +02:00
BinaryOp/RemoveDuplicatedInstanceOfRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
BooleanAnd/RemoveAndTrueRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Cast/RecastingRemovalRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
ClassConst/RemoveUnusedPrivateClassConstantRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
ClassLike/RemoveAnnotationRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
ClassMethod [DeadCode] Skip used in compact() on RemoveUnusedConstructorParamRector (#2345) 2022-05-22 13:42:14 +02:00
Concat/RemoveConcatAutocastRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
ConstFetch/RemovePhpVersionIdCheckRector [DeadCode] Ensure no stmts check on RemovePhpVersionIdCheckRector (#2260) 2022-05-07 18:45:53 +00:00
Expression [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
For_ [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Foreach_/RemoveUnusedForeachKeyRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
FunctionLike [DeadCode] Remove RemoveCodeAfterReturnRector, already handled at RemoveUnreachableStatementRector (#2199) 2022-05-01 12:46:52 +07:00
If_ [DeadCode] Allow return Nop Stmts (comments) on RemoveAlwaysTrueIfConditionRector (#2327) 2022-05-18 10:07:35 +02:00
MethodCall/RemoveEmptyMethodCallRector Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
Node/RemoveNonExistingVarAnnotationRector Add Scope refresh for changed or new nodes (#2292) 2022-05-12 08:33:27 +02:00
Plus/RemoveDeadZeroAndOneOperationRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Property Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
PropertyProperty/RemoveNullPropertyInitializationRector Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
Return_/RemoveDeadConditionAboveReturnRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
StaticCall/RemoveParentCallWithoutParentRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Stmt Decouple aliased object type specifier + updgrade to PHPStan 1.6 (#2170) 2022-04-26 11:42:01 +02:00
Switch_/RemoveDuplicatedCaseInSwitchRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Ternary/TernaryToBooleanOrFalseToBooleanAndRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
TryCatch/RemoveDeadTryCatchRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00