322 Commits

Author SHA1 Message Date
Tomas Votruba
2b6e4f5909 Updated Rector to commit d1e09e3d5eb1fb5db196c15dac3ebd45d38341c9
d1e09e3d5e [ECS] remove ignored rules that are now fixed, use SimplePhpParser for ad-hoc node resolving (#1076)
2021-10-27 08:50:45 +00:00
Tomas Votruba
50818a1498 Updated Rector to commit 87a6907172fe8ca0d71ec9065c0d3402b2b0f583
87a6907172 [PSR4] Fix test on NormalizeNamespaceByPSR4ComposerAutoloadRector (#1063)
2021-10-26 00:21:45 +00:00
Tomas Votruba
20d4f35d27 Updated Rector to commit b305c4edf20ef844be4ce482dafbb1849518bf06
b305c4edf2 [DX] Decouple PropertyTypeDecorator (#1055)
2021-10-25 11:14:32 +00:00
Tomas Votruba
f4b82f4b45 Updated Rector to commit 7f73cf017214257c170d34db3af7283eaeeab657
7f73cf0172 [automated] Re-Generate Nodes/Rectors Documentation (#1050)
2021-10-24 00:34:27 +00:00
Tomas Votruba
f24d3a51b1 Updated Rector to commit f9fdebfe589e145aacb7b4d4e99f2be80589d2b2
f9fdebfe58 [DowngradePhp74] Handle nested uses on ArrowFunctionToAnonymousFunctionRector (#1040)
2021-10-23 01:58:01 +00:00
Tomas Votruba
20dc105d45 Updated Rector to commit 06994b8ff38f65e68a93633d4430ce16b47f506b
06994b8ff3 [Core] Avoid hang on file has template-extends (#1034)
2021-10-22 03:28:32 +00:00
Tomas Votruba
f3f7bbc63b Updated Rector to commit 1f2a4e9eac6d4ae152a37ca5528799b0a965e814
1f2a4e9eac Check for  instance in  (#1033)
2021-10-21 07:30:29 +00:00
Tomas Votruba
aa46d2f915 Updated Rector to commit 4c3de1251e18ced1757dfe6e7dbde7bb08ebe153
4c3de1251e [Php56] Skip AddDefaultValueForUndefinedVariableRector on has isset check (#1028)
2021-10-20 19:38:55 +00:00
Tomas Votruba
1099eab862 Updated Rector to commit 36fc840488d73e890869a36ce876b9cdea3f78eb
36fc840488 Trigger notification (#1027)
2021-10-20 01:31:18 +00:00
Tomas Votruba
4a269dfc0b Updated Rector to commit d51b8494eb8140b5b09e382ef0fea2e52dd0b42c
d51b8494eb [DX] Add DowngradeLevelSetList (#1023)
2021-10-19 09:00:23 +00:00
Tomas Votruba
cdbc308200 Updated Rector to commit 33e5cab8d53facaa6753fc26b755e9ce3634d940
33e5cab8d5 [DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019)
2021-10-18 08:52:15 +00:00
Tomas Votruba
6593b462b3 Updated Rector to commit cdd8a1aefceba3a97448cc62a0a2e9ee33fde093
cdd8a1aefc [Naming][Php56] Another better approach for AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1014)
2021-10-17 07:14:48 +00:00
Tomas Votruba
93d9d433fc Updated Rector to commit 4992b8c6aa81642bc28d55002951b4cdeb46b356
4992b8c6aa [Naming][Php56] Better patch for AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1013)
2021-10-17 06:52:57 +00:00
Tomas Votruba
427b9ce357 Updated Rector to commit 8bb31f25562b83504ca36b5c94797c87131afa8f
8bb31f2556 [automated] Re-Generate Nodes/Rectors Documentation (#1012)
2021-10-17 00:30:43 +00:00
Tomas Votruba
100f186ff7 Updated Rector to commit fee0135ec197fd8e0bde1fca3444c70ed2efa8a0
fee0135ec1 [Naming][Php56] Handle AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1010)
2021-10-16 13:05:59 +00:00
Tomas Votruba
6409895073 Updated Rector to commit caba58dfd0b2fb8494ad88e65eec3aa051297e6b
caba58dfd0 [PHPStan] Clean up PHPStan ignore error (#1008)
2021-10-16 09:57:47 +00:00
Tomas Votruba
67d83c7b32 Updated Rector to commit 4e377b26af1762f9fb8c968341df5d742ec0160f
4e377b26af Add option of case-insensitive ReplaceStringWithClassConstantRector (#1004)
2021-10-15 16:34:45 +00:00
Tomas Votruba
fadc7bb98d Updated Rector to commit bc39e1c3e839b1af6a5bb452b16eb372a517f0ce
bc39e1c3e8 [CodeQuality] Skip getter in assign var and on this var type on ExplicitMethodCallOverMagicGetSetRector (#999)
2021-10-14 14:35:01 +00:00
Tomas Votruba
785101045c Updated Rector to commit 78c6226bceb7649c8482f8a49e2f9428d9d5fa4a
78c6226bce Allow resolving names on dynamic property fetch (#996)
2021-10-13 11:50:37 +00:00
Tomas Votruba
ebd0863c09 Updated Rector to commit ccd8e898af997a1a21af6159c6b85f04ab418552
ccd8e898af [Naming][Php56] Handle AddDefaultValueForUndefinedVariableRector + RenameParamToMatchTypeRector (#993)
2021-10-12 12:52:00 +00:00
Tomas Votruba
3163961fe7 Updated Rector to commit 90c1d09a33d2675b5b60d8bc08d3853cfbfcf75a
90c1d09a33 [PHPStanStaticTypeMapper] Add UnionTypeAnalyzer::isNullable() (#987)
2021-10-12 01:37:01 +00:00
Tomas Votruba
c6a9b6bdf0 Updated Rector to commit 65c3a44c638f203cb2c10affa6dcc70af920e6f8
65c3a44c63 [TypedPropertyRector] Handle nullable collection on TypedPropertyRector (#986)
2021-10-11 06:45:23 +00:00
Tomas Votruba
9056c6c3a5 Updated Rector to commit 3c0cb22a58e6b8dc4195631046ba4a62ceabf279
3c0cb22a58 [automated] Re-Generate Nodes/Rectors Documentation (#984)
2021-10-10 00:30:12 +00:00
Tomas Votruba
45d3e63a94 Updated Rector to commit ff32aed8c3ad9498af2017a342ec02d5f1914561
ff32aed8c3 fix: Attempt to assign property type on null error (#979)
2021-10-09 05:23:01 +00:00
Tomas Votruba
dd90137169 Updated Rector to commit f175e5afdf8662faf2c7a7c82c0d2a48eb50dbeb
f175e5afdf [Php74] Skip type hint DummyTraitClass on TypedPropertyRector (#965)
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 (#961)
2021-10-06 09:54:20 +00:00
Tomas Votruba
f6dfd556b7 Updated Rector to commit 687f9e9de9d5b25cdef988b8572d30f21ad42ea9
687f9e9de9 Clean up PHPStan ignore error messages (#954)
2021-10-05 05:07:42 +00:00
Tomas Votruba
f9c50ad2b9 Updated Rector to commit 1f63ed3e55553cff1e2ef4c579a29ae8308dd90d
1f63ed3e55 Reworking trait scope run (#952)
2021-10-04 21:24:17 +00:00
Tomas Votruba
9d6051f97f Updated Rector to commit 6bfe0133002f30d16489deb9ef6028efdbbaa795
6bfe013300 [NodeCollector] Add ArrayCallableDynamicMethod value object (#951)
2021-10-03 08:23:40 +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 (#942)
2021-10-02 09:50:46 +00:00
Tomas Votruba
9c7734ab41 Updated Rector to commit 363e7910e7360dcee746370de90c3c51eae306a9
363e7910e7 Bump EndBug/add-and-commit from 7.2.1 to 7.4.0 (#943)
2021-10-01 11:43:12 +00:00
Tomas Votruba
75becd3a6c Updated Rector to commit 01b39f585bc2b445b67ade5f9d8e67fce04f3a5d
01b39f585b Remove moved phsptan rules (#933)
2021-09-30 12:35:12 +00:00
Tomas Votruba
82e31fbd26 Updated Rector to commit d21dcc3ce357fade02860ae611a6d1baf7dcc975
d21dcc3ce3 [Renaming] Fully Qualified import doc same name renaming class error (#926)
2021-09-28 05:01:55 +00:00
Tomas Votruba
73d7212e05 Updated Rector to commit 17cfa9f376b5b4a00a34e3b09ac48e7bd812be3f
17cfa9f376 Update to nikic/php-parser 4.13.0 (#904)
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
4e6d051524 Updated Rector to commit f2132237d628f96c26c2120a83801500556614c6
f2132237d6 [automated] Apply Coding Standard (#922)
2021-09-26 00:28:25 +00:00
Tomas Votruba
6dcaaef071 Updated Rector to commit 49314dc3d4918988d83270ab104e347a97e46d46
49314dc3d4 [DX] Add PhpUpgradeImplementsMinPhpVersionInterfaceRule (#910)
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 (#917)
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 (#913)
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 (#912)
2021-09-22 17:53:44 +00:00
Tomas Votruba
45b3a18479 Updated Rector to commit e09cf113d7870f96f38685e081a45c561cff298b
e09cf113d7 [DX] Add PhpUpgradeDowngradeRegisteredInSetRule PHPStan rule (#905)
2021-09-21 11:16:07 +00:00
Tomas Votruba
5933e0d5f0 Updated Rector to commit e78fadd24d6466842c877dc33203f5dd68c02cdc
e78fadd24d [Php74] Handle conflict with alias on TypedPropertyRector (#899)
2021-09-20 11:23:02 +00:00
Tomas Votruba
495580024a Updated Rector to commit a19687ce9d53dad6476c41cc124d4e7440cdedcd
a19687ce9d [automated] Re-Generate preload.php (#901)
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 (#897)
2021-09-17 19:38:24 +00:00
Tomas Votruba
1257466608 Updated Rector to commit 00e0f49b9d0a07bf903b9c1b2d1be5a92608c1d5
00e0f49b9d [Php80] Skip Ternary indirect usage with null else on NullsafeOperatorRector (#891)
2021-09-16 10:24:17 +00:00
Tomas Votruba
e6b6f5b661 Updated Rector to commit a2a378e016cf9501ac35fa3eb51c28141d642794
a2a378e016 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector: return array of Nodes (#885)
2021-09-15 12:50:35 +00:00
Tomas Votruba
cdd58e83f2 Updated Rector to commit 6f0288df97a46cccb08c747e4c0f181c6e2ac2c5
6f0288df97 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector (#878)
2021-09-14 05:51:11 +00:00
Tomas Votruba
4d03ef9715 Updated Rector to commit 41dfd3640731a74969b84c1717fa319e31a88ed9
41dfd36407 [PHPStan] Update to PHPStan 0.12.99 (#874)
2021-09-13 13:38:55 +00:00
Tomas Votruba
46d03714d0 Updated Rector to commit 95bf5aa61fcd772a0d038f28a7ad2388d0a641c0
95bf5aa61f [automated] Re-Generate Nodes/Rectors Documentation (#870)
2021-09-12 00:30:25 +00:00
Tomas Votruba
c9bd554857 Updated Rector to commit 29fb47974d062bff0debab9e442cb3d9e1546506
29fb47974d [Php80] feat: str starts with hardcoded (#866)
2021-09-11 09:23:29 +00:00