1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-02-16 22:04:54 +01:00

2664 Commits

Author SHA1 Message Date
Tomas Votruba
6154cc59ea Updated Rector to commit f2afe8ed6edb2e91082158c3a7b317b72a46fde8
f2afe8ed6e [DX] Move from deprecated getStaticType() to getType() ()
2021-10-07 18:52:22 +00:00
Tomas Votruba
61389a9b2c Updated Rector to commit f6f7431ce7aa36124efcda10e1b9ed16a5ccc343
f6f7431ce7 [DX] Merge getObjectType() and getStaticType() methods to single getType() ()
2021-10-07 17:46:41 +00:00
Tomas Votruba
4fa8da0c31 Updated Rector to commit 5ba14990349db5141c98b373d3360018f8bd00a0
5ba1499034 [Strict] Skip stripos on BooleanInIfConditionRuleFixerRector ()
2021-10-07 17:03:55 +00:00
Tomas Votruba
7d712af5a2 Updated Rector to commit eb811b13b9197e4e9c3994274ed05c2e47993c5a
eb811b13b9 [CodeQuality] Add ExplicitMethodCallOverMagicGetSetRector ()
2021-10-07 16:13:11 +00:00
Tomas Votruba
a2ed31d38b Updated Rector to commit cddcebf132cb9ea7f1f33d77a35b89305cbb2ff4
cddcebf132 [DowngradePhp74] Handle fn inside fn on ArrowFunctionToAnonymousFunctionRector ()
2021-10-07 08:01:49 +00:00
Tomas Votruba
dec07bda16 Updated Rector to commit 97a8d8ee10ebaf78cc6eb4a64c30de3a7bb4c5e6
97a8d8ee10 [TypeDeclaration] Handle param description in next line on ParamTypeDeclarationRector ()
2021-10-07 08:00:22 +00:00
Tomas Votruba
dd90137169 Updated Rector to commit f175e5afdf8662faf2c7a7c82c0d2a48eb50dbeb
f175e5afdf [Php74] Skip type hint DummyTraitClass on TypedPropertyRector ()
2021-10-07 07:59:43 +00:00
Tomas Votruba
34fc36ed68 Updated Rector to commit 683077ed2a6d6be481fd3f3ab491b3eb4e3ffc6e
683077ed2a [Downgrade PHP 7.2] Downgrade object type also in Closure ()
2021-10-06 09:54:20 +00:00
Tomas Votruba
9909c26a13 Updated Rector to commit e9e2877d959f24ee91e5f76a6cf626499011c4bb
e9e2877d95 [CodingStyle] Skip inside return statement on NewlineAfterStatementRector ()
2021-10-05 21:23:57 +00:00
Tomas Votruba
8203945744 Updated Rector to commit ed80bec474110d2e50f71c6dd1cad0c9a9b10491
ed80bec474 [Strict] Add parameter to require non-empty values opt-in ()
2021-10-05 15:59:39 +00:00
Tomas Votruba
0bb5807237 Updated Rector to commit d4cb2395dc729e4c77e9b0e4a99677d9acb6d1b8
d4cb2395dc fix BooleanInBooleanNotRuleFixerRector docs
2021-10-05 11:12:46 +00:00
Tomas Votruba
0b0fa02f46 Updated Rector to commit c4de350289baf6f7cf4b64f1708f1e02fc1827dd
c4de350289 [Strict] Add rules to resolve PHPStan Strict rule set ()
2021-10-05 08:51:30 +00:00
Tomas Votruba
f6dfd556b7 Updated Rector to commit 687f9e9de9d5b25cdef988b8572d30f21ad42ea9
687f9e9de9 Clean up PHPStan ignore error messages ()
2021-10-05 05:07:42 +00:00
Tomas Votruba
f9c50ad2b9 Updated Rector to commit 1f63ed3e55553cff1e2ef4c579a29ae8308dd90d
1f63ed3e55 Reworking trait scope run ()
2021-10-04 21:24:17 +00:00
Tomas Votruba
9d6051f97f Updated Rector to commit 6bfe0133002f30d16489deb9ef6028efdbbaa795
6bfe013300 [NodeCollector] Add ArrayCallableDynamicMethod value object ()
2021-10-03 08:23:40 +00:00
Tomas Votruba
e5110e1fff Updated Rector to commit c7841107c9c761a840f0d94c01d757d12942d2ab
c7841107c9 Re-Trigger build scopped as prev quoted commit message cause build failure and there is symplify update ()
2021-10-02 22:25:11 +00:00
Tomas Votruba
e8f35ec2b6 Updated Rector to commit e6894a9d1b96dc52d2e2b6e7ab3972204320d3a4
e6894a9d1b [Generics] Add MakeClassMethodGenericRector ()
2021-10-02 14:06:29 +00:00
Tomas Votruba
da81700dfe Updated Rector to commit 0b84824190447f3d35ac7bdca62723d889957fe6
0b84824190 [Renaming] Skip rename Name when parent is Namespace_ equal to target name on RenameClassRector ()
2021-10-02 09:50:46 +00:00
Tomas Votruba
93ca3f3280 Updated Rector to commit 0552b3a8852eb70465be2286c26071793e62fb5a
0552b3a885 [EarlyReturn] Handle continue/break in foreach with next return on ChangeAndIfToEarlyReturnRector ()
2021-10-01 18:08:07 +00:00
Tomas Votruba
d102625c63 Updated Rector to commit 347b5938475e5b0e846be6ef631d5939a47fc1a0
347b593847 [CodingStyle] Do not escape expression on ConsistentPregDelimiterRector with double quote ()
2021-10-01 14:03:02 +00:00
Tomas Votruba
9c7734ab41 Updated Rector to commit 363e7910e7360dcee746370de90c3c51eae306a9
363e7910e7 Bump EndBug/add-and-commit from 7.2.1 to 7.4.0 ()
2021-10-01 11:43:12 +00:00
Tomas Votruba
027f7f71ea Updated Rector to commit ffa3915630243f31a1c3ee99defc7a615fc3f505
ffa3915630 fix getArgs() missing in phpstan scoped version in rector-src packages ()
2021-09-30 13:38:25 +00:00
Tomas Votruba
70e1e89b77 Updated Rector to commit e5859d69491a4d3ef8a437513222bb33adfb47d1
e5859d6949 [Php74] Handle nullable alias on TypedPropertyRector ()
2021-09-30 13:21:43 +00:00
Tomas Votruba
75becd3a6c Updated Rector to commit 01b39f585bc2b445b67ade5f9d8e67fce04f3a5d
01b39f585b Remove moved phsptan rules ()
2021-09-30 12:35:12 +00:00
Tomas Votruba
c0c12d0469 Updated Rector to commit b7e7115bd99d6e5cef793d6e87a361b9fafc0597
b7e7115bd9 [DowngradePhp80][DowngradePhp74] Handle DowngradeMatchToSwitchRector + DowngradeArraySpreadRector ()
2021-09-28 22:42:45 +00:00
Tomas Votruba
dd1c4722cb Updated Rector to commit af0fc798634b35e694af8a1a4e0cf7f91025a091
af0fc79863 Fix preload.php order to included firstly used classes first, to avoid missing parent bugs ()
2021-09-28 16:17:28 +00:00
Tomas Votruba
82e31fbd26 Updated Rector to commit d21dcc3ce357fade02860ae611a6d1baf7dcc975
d21dcc3ce3 [Renaming] Fully Qualified import doc same name renaming class error ()
2021-09-28 05:01:55 +00:00
Tomas Votruba
c4b8a79080 Updated Rector to commit 1d9803ca2acf63b195adde14793f354a40fd042b
1d9803ca2a [ECS] Add parallel run with 16x time faster ECS ()
2021-09-27 15:53:56 +00:00
Tomas Votruba
73d7212e05 Updated Rector to commit 17cfa9f376b5b4a00a34e3b09ac48e7bd812be3f
17cfa9f376 Update to nikic/php-parser 4.13.0 ()
2021-09-27 15:43:15 +00:00
Tomas Votruba
9543fa704d Updated Rector to commit 59aded96ec9ed304fcff2c638075d222c5e7b8c6
59aded96ec bump symplify version
2021-09-27 12:26:58 +00:00
Tomas Votruba
be634d76f5 Updated Rector to commit 7caad6d970827e585be7d6aa0cb2ec9562228970
7caad6d970 [Renaming] Handle auto import conflict on RenameClassRector from @var doc ()
2021-09-26 09:29:01 +00:00
Tomas Votruba
e8aece2bf2 Updated Rector to commit 466c9e1b1ad5a031fae2bbb86ab14968c1d81b3b
466c9e1b1a docs: add downgrade set list to docs ()
2021-09-26 09:24:43 +00:00
Tomas Votruba
313fed3ab0 Updated Rector to commit ce0fdfdee4c34567a4ac2905e361a7f42c1cc766
ce0fdfdee4 [automated] Re-Generate Nodes/Rectors Documentation ()
2021-09-26 00:29:11 +00:00
Tomas Votruba
4e6d051524 Updated Rector to commit f2132237d628f96c26c2120a83801500556614c6
f2132237d6 [automated] Apply Coding Standard ()
2021-09-26 00:28:25 +00:00
Tomas Votruba
6dcaaef071 Updated Rector to commit 49314dc3d4918988d83270ab104e347a97e46d46
49314dc3d4 [DX] Add PhpUpgradeImplementsMinPhpVersionInterfaceRule ()
2021-09-24 14:11:08 +00:00
Tomas Votruba
038e6331b2 Updated Rector to commit ddd8e8590204619d9273705f9e6a44cd11bacbcd
ddd8e85902 [DeadCode] Only remove private property from current class on RemoveUnusedPrivatePropertyRector ()
2021-09-24 10:23:02 +00:00
Tomas Votruba
70b25e6efb Updated Rector to commit 57a6d7af31dd2a0c38b96677c7c3e441cfd64401
57a6d7af31 [NodeTypeResolver] Skip Auto Import from doc on sub namespace class exists when already in use statement by other namespace ()
2021-09-23 08:01:36 +00:00
Tomas Votruba
8ae17f0c0a Updated Rector to commit 5ff4058f93d323ff2f1f43fba16ccb8521b5c0ae
5ff4058f93 [NodeTypeResolver] Skip Auto import from doc in used namespace on NameImportingPhpDocNodeVisitor ()
2021-09-22 17:53:44 +00:00
Tomas Votruba
1c439c5835 Updated Rector to commit 6ee381754bad543713d7d6661cdde18bdeec4425
6ee381754b [DeadCode] Skip Array Callable dynamic method on RemoveUnusedPrivateMethodRector ()
2021-09-21 20:03:28 +00:00
Tomas Votruba
ad2aa21ed8 Updated Rector to commit 3dd16b30e38c7ca4ee208e6ddde841cf4443d46b
3dd16b30e3 Add PhpMinVersions ()
2021-09-21 14:11:26 +00:00
Tomas Votruba
f1e92cd8c3 Updated Rector to commit 644b37e4eb5cdd597b518a15368b19d7687fb832
644b37e4eb Add some PHP_80 min versions ()
2021-09-21 11:18:03 +00:00
Tomas Votruba
45b3a18479 Updated Rector to commit e09cf113d7870f96f38685e081a45c561cff298b
e09cf113d7 [DX] Add PhpUpgradeDowngradeRegisteredInSetRule PHPStan rule ()
2021-09-21 11:16:07 +00:00
Tomas Votruba
5933e0d5f0 Updated Rector to commit e78fadd24d6466842c877dc33203f5dd68c02cdc
e78fadd24d [Php74] Handle conflict with alias on TypedPropertyRector ()
2021-09-20 11:23:02 +00:00
Tomas Votruba
eeaf265fd8 Updated Rector to commit a8a79d0b986fd08f699980f28c049d18ad04a4b8
a8a79d0b98 [Arguments] Use native types over weak string to define types ()
2021-09-19 11:08:13 +00:00
Tomas Votruba
9bcdf99a5a Updated Rector to commit ab182ff80b8d11a4bc9d23d715cc223f5e03177d
ab182ff80b [PHP 8.0] Remove NullsafeOperatorRector, as often breaking and promoting non-early returns and losen types ()
2021-09-19 10:24:30 +00:00
Tomas Votruba
6672a6759e Updated Rector to commit b5516368d4c2ad63afc8a9a1f0d2ed997f1eb202
b5516368d4 [Php74] Add privatePropertyOnly config to TypedPropertyRector ()
2021-09-19 10:18:03 +00:00
Tomas Votruba
300188a298 Updated Rector to commit 3ff17513c47ace5c6a71ef4f918f33a8fa183a7b
3ff17513c4 [Arguments] Add the missing default value and type for the added arguments ()
2021-09-19 09:13:32 +00:00
Tomas Votruba
c4be8405d9 Updated Rector to commit 327929f6206170799c609fb4ef062aa31ac338b9
327929f620 [automated] Apply Coding Standard ()
2021-09-19 00:28:39 +00:00
Tomas Votruba
495580024a Updated Rector to commit a19687ce9d53dad6476c41cc124d4e7440cdedcd
a19687ce9d [automated] Re-Generate preload.php ()
2021-09-19 00:28:26 +00:00
Tomas Votruba
883dd9f677 Updated Rector to commit 1e3e5dff59b05d497580f52e9a7491a2afa6bd29
1e3e5dff59 [CodingStyle] Handle too detailed pair class string array on VarConstantCommentRector ()
2021-09-17 19:38:24 +00:00