3594 Commits

Author SHA1 Message Date
Tomas Votruba
8c3b690acb Updated Rector to commit 79b25e861d51dd85764420a94fe56343b01b1a04
79b25e861d [DeadCode] Handle always terminated If_ ElseIf_[] Else_ on RemoveUnreachableStatementRector (#2547)
2022-06-21 10:20:21 +00:00
Tomas Votruba
f638f7a12a Updated Rector to commit fe88fbb6306cec3728b9158fd13b1cfd23b9f0f6
fe88fbb630 [PHP 8.1] Add FirstClassCallableRector (#2544)
2022-06-21 07:39:15 +00:00
Tomas Votruba
bb396cb5b1 Updated Rector to commit 6c713a776c54053537fcca97630d2da154d95514
6c713a776c [DeadCode] Handle always terminated TryCatch on RemoveUnreachableStatementRector (#2545)
2022-06-21 06:34:28 +00:00
Tomas Votruba
491ac4d181 Updated Rector to commit a16bc1b5762df29a2f71ddab8acfd7684205d8ce
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 15:12:00 +00:00
Tomas Votruba
6df03b5f94 Updated Rector to commit d4ec140212e815b6ddc6fbbda7fba7acbc7c10e1
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 14:51:15 +00:00
Tomas Votruba
6c8432ebfa Updated Rector to commit 26a2a5aab5dec4510f03c59cd2535c6140f56f4d
26a2a5aab5 [PHPStan] Fix PHPStan notice on MultiDirnameRector (#2540)
2022-06-20 14:04:59 +00:00
Tomas Votruba
709c724831 Updated Rector to commit 945889cfb4c6e84efe3496cc5a45c9b2583764cb
945889cfb4 Forbid PHPStan ClassMethod to avoid false type miss-matches (#2538)
2022-06-20 13:08:32 +00:00
Tomas Votruba
76fe03af38 Updated Rector to commit 21fc218e086b066bf4824cdd2d987f971dd71983
21fc218e08 [Core] AbstractScopeAwareRector is ready to be used in custom rules (#2537)
2022-06-20 13:06:04 +00:00
Tomas Votruba
1e1549f2d5 Updated Rector to commit f4a9b50187a20ff3573a3f2b55859545a06157a6
f4a9b50187 [Php80] Skip Assign on its var not directly used in next return on ChangeSwitchToMatchRector (#2535)
2022-06-20 07:10:51 +00:00
Tomas Votruba
0eee0934e4 Updated Rector to commit e22941a7f799b4e8f220428b37aec347769801b2
e22941a7f7 [PHP 7.4] Skip default expr type on property, if there is mixed assign (#2534)
2022-06-19 20:07:30 +00:00
Tomas Votruba
667b378a17 Updated Rector to commit 88e17ecb1031251d6f67628263fcb87ecc7b67b8
88e17ecb10 [PHP 7.0] skip non-existing method in StaticCallOnNonStaticToInstanceCallRector (#2532)
2022-06-19 08:57:14 +00:00
Tomas Votruba
f3c64cc79f Updated Rector to commit 1a3288b2d90de40115e6ceff13712e9fd85c0999
1a3288b2d9 [Transform] Handle with this->method() from current class on MethodCallToMethodCallRector (#2531)
2022-06-18 22:08:34 +00:00
Tomas Votruba
476eee8d3e Updated Rector to commit c80d7e1f8d53c4acd20dc69574e5dc8490b101c5
c80d7e1f8d Improve closure node construction to just-in-time (#2529)
2022-06-17 21:00:38 +00:00
Tomas Votruba
40e124c320 Updated Rector to commit 7129067a8ae2b3cd3f3866f4b58592928963bab6
7129067a8a [CodeQuality] Fix default array param in CallableThisArrayToAnonymousFunctionRector (#2527)
2022-06-17 19:25:55 +00:00
Tomas Votruba
8b000ddfe5 Updated Rector to commit 064d38be755978f866d0b7de8a43545b5b44f288
064d38be75 [Php81] Skip param reassign on ReadOnlyPropertyRector (#2498)
2022-06-17 07:22:25 +00:00
Tomas Votruba
3bf77b5204 Updated Rector to commit fc90ad2eb4cd62c02a5f6a2b235e0217dc8c9077
fc90ad2eb4 [TypeDeclaration] Skip implements mixed, and already has typed return on AddReturnTypeDeclarationRector (#2509)
2022-06-16 15:16:19 +00:00
Tomas Votruba
f01cff4ff3 Updated Rector to commit 10fd4c349828c2753b6cfa499f5c917cd8e0646e
10fd4c3498 [Php70] Refactor MultiDirnameRector by moving nestingLevel check to separate method (#2488)
2022-06-14 06:50:56 +00:00
Tomas Votruba
fa8e606d26 Updated Rector to commit 49fc61c1ffa4f69dabf0d365cd37fd51c312cc55
49fc61c1ff Bump to Symplify 11 (#2489)
2022-06-13 23:08:50 +00:00
Tomas Votruba
75264243ca Updated Rector to commit ef4267ebf048e96aa600823d92e92d5b6abd7c5f
ef4267ebf0 [PSR4] Handle invalid missing ; on NormalizeNamespaceByPSR4ComposerAutoloadRector with GroupUse (#2485)
2022-06-13 11:51:53 +00:00
Tomas Votruba
1ca568d18c Updated Rector to commit 332aad337e900bc5a23da5db3601d45b4fe901d4
332aad337e fix casing of enums
2022-06-13 09:09:58 +00:00
Tomas Votruba
446e9f7d20 Updated Rector to commit 6f164da43933c1fa957b1cf62c23e4ceed4839f8
6f164da439 [Php55] Handle crash on concat variable single quote on PregReplaceEModifierRector (#2483)
2022-06-13 06:59:41 +00:00
Tomas Votruba
7800c7ad15 Updated Rector to commit e1188e9bffd33b902b51de71a3c2cf06ce48b9e2
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 14:03:15 +00:00
Tomas Votruba
dd31e833a9 Updated Rector to commit ce1c29184d943c5626b4461b6314f18701898b82
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba
9cf6755b1b Updated Rector to commit 9679ed6d77dcb4061aef35b8e4fa778217d466e8
9679ed6d77 [DeadCode] Skip using coealesce assign operator on return on RemoveUnusedPrivatePropertyRector (#2476)
2022-06-11 12:21:18 +00:00
Tomas Votruba
6e209432c2 Updated Rector to commit a8dae7ff8ffaf1a1c80c54d64d9a9eb1cc21a886
a8dae7ff8f [TypeDeclaration] Skip generic on ReturnTypeDeclarationRector (#2469)
2022-06-11 11:59:38 +00:00
Tomas Votruba
b4891e547c Updated Rector to commit a5340c6f0693141a73cb3ec4cd72e2c213c13276
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba
7fbc26bbc7 Updated Rector to commit 797cb38b8805859f67bbe4a08be0ec7ee6bb4486
797cb38b88 Clean PHPStan errors (#2475)
2022-06-10 14:48:54 +00:00
Tomas Votruba
a9ffd906d7 Updated Rector to commit 368dbb048c0c891e205ec4dae8427b53deb4d316
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba
fd299c83a6 Updated Rector to commit 712174b3005b53ed2cb9d7afebc37e44583d26cf
712174b300 Update packages-tests github action to use latest phpdoc-parser (#2467)
2022-06-09 13:32:28 +00:00
Tomas Votruba
bfad5344a5 Updated Rector to commit d1b7a49e35cd236f15ddb3010d2b91b065d094a5
d1b7a49e35 [DeadCode][Php73] Ensure return  only when changed on RemoveDuplicatedCaseInSwitchRector+RegexDashEscapeRector (#2462)
2022-06-09 10:09:44 +00:00
Tomas Votruba
63f3dad444 Updated Rector to commit eaea281956949f03f3b6477dec89dd503099f632
eaea281956 [Php70] Handle crash on EregToPregMatchRector (#2460)
2022-06-09 09:47:09 +00:00
Tomas Votruba
7e1e20e9f2 Updated Rector to commit 17b86d4b7728ceeb245226f2735b7b4abf6c58a8
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba
e8d4384fe8 Updated Rector to commit 6c8b3dc9f8d10cefe8351b0f3f80c6954dd2397a
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00
Tomas Votruba
0b4d7cf713 Updated Rector to commit 1a84313089f670496a3313ade850d1650df47741
1a84313089 [Renaming] Skip rename docblock on conflict with alias on RenameClassRector (#2450)
2022-06-07 12:52:01 +00:00
Tomas Votruba
b6a8818d00 Updated Rector to commit cbbe410affb8afcfc3843e6738e882eef18a559d
cbbe410aff string prefixing is still needed
2022-06-07 09:46:15 +00:00
Tomas Votruba
9bb996bfce Updated Rector to commit a9779404d3ed9fcc9c5918c03fa57828e44857de
a9779404d3 try without prefixing string classes
2022-06-07 09:38:27 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
91f5aab952 Updated Rector to commit 4f07a4f30f341a516aa8f6bbbb5f97f44469cee2
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b075849ea4b327ce96c28ec359e7b7636
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
cc91bd4f07 Updated Rector to commit 0eba231b075849ea4b327ce96c28ec359e7b7636
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 15:55:14 +00:00
Tomas Votruba
07acf2086f Updated Rector to commit 40d9102eab5099030fdd11d21a3b00d21aed0825
40d9102eab [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
2022-06-06 06:00:07 +00:00
Tomas Votruba
3113a2404c Updated Rector to commit dbb54b83cc6b5dca75bed32296ab13afa9cf606e
dbb54b83cc [automated] Re-Generate Nodes/Rectors Documentation (#2438)
2022-06-05 00:39:10 +00:00
Tomas Votruba
43409e9080 Updated Rector to commit 63cd74893dcb8f30d0294910a1b23a66cc8ae3a3
63cd74893d [DeadCode] Improve RemoveJustPropertyFetchRector and apply (#2435)
2022-06-04 18:08:03 +00:00
Tomas Votruba
03ef1cdc0b Updated Rector to commit b0a61735508fdcf1adf33b9f8df7950666864c82
b0a6173550 [DeadCode] Add RemoveJustPropertyFetchRector (#2433)
2022-06-04 17:37:29 +00:00
Tomas Votruba
63ef476ebe Updated Rector to commit 70261b71b70282bc9bdbd749819825885b4c9d1c
70261b71b7 [DeadCode] Fix known array type in empty if foreach (#2432)
2022-06-04 13:19:43 +00:00
Tomas Votruba
d755df61c1 Updated Rector to commit 36fe5d5d05eae7a4c0ce74513d378d80737c16c8
36fe5d5d05 [DeadCode] fix RemoveJustPropertyFetchForAssignRector for nested array dim fetch (#2427)
2022-06-04 09:21:35 +00:00
Tomas Votruba
bf28f06a74 Updated Rector to commit 6b9984175f5a334baa6d1b0736fd2434f1338252
6b9984175f [Naming] Fix PseudoNamespaceToNamespaceRector reporting on change (#2426)
2022-06-04 08:16:56 +00:00
Tomas Votruba
5349987b1f Updated Rector to commit c3581f9d339415a309668656d7e83e062588a1d1
c3581f9d33 Skip used in new ctor (#2425)
2022-06-04 07:44:43 +00:00