2499 Commits

Author SHA1 Message Date
Tomas Votruba
9550950b4e Updated Rector to commit a16bc1b5762df29a2f71ddab8acfd7684205d8ce
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 17:57:13 +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
c1ace7d7d7 Updated Rector to commit d4ec140212e815b6ddc6fbbda7fba7acbc7c10e1
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 15:00:36 +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
1c6f1d1b92 Updated Rector to commit 4eeadae7bfd4b31666f35f9401a7d84f3a886b52
4eeadae7bf [Php56] Skip multiple catch with same variable on AddDefaultValueForUndefinedVariableRector (#2533)
2022-06-20 07:09:14 +00:00
Tomas Votruba
570ffb84f2 Updated Rector to commit 87b3dad3416ae5cfebac33238536ddf96eaeae75
87b3dad341 [Scoped] Register src/functions functions list to scoper config (#2536)
2022-06-20 07:07:15 +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
36fef87f0f Updated Rector to commit 372e03052339acef62730736d0e2378fb63b4c70
372e030523 [Core] Handle parent return/assign from FuncCall with No Scope (#2525)
2022-06-19 08:24:30 +00:00
Tomas Votruba
18b4fe7497 Updated Rector to commit 3e6c9cf5af1c619d022f40d531dc73492eef1756
3e6c9cf5af Add DISABLE_AUTO_IMPORT_DOC_BLOCK_NAMES option (#2526)
2022-06-18 22:29:58 +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
f4e63e9666 Updated Rector to commit b31c654ccac891899d577fe8b938f460b5aab420
b31c654cca use generate-changelog name directly
2022-06-17 16:45:48 +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
f788998a40 Updated Rector to commit 9aec92a559715fdb13c8ff283d6f7b27e7cc659d
9aec92a559 rollback guard (#2524)
2022-06-17 06:22:21 +00:00
Tomas Votruba
7104c57aee Updated Rector to commit 3168114f48cdce16b777985280185eb88f0ed3b6
3168114f48 use arrow functions (#2522)
2022-06-16 17:58:23 +00:00
Tomas Votruba
8baeeb7757 Updated Rector to commit 1b636b63e8d2e2ba9ae415abf439ce68eca587f8
1b636b63e8 [e2e] Add e2e parent is BinaryOp from FuncCall with No Scope (#2500)
2022-06-16 16:59:11 +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
a5f127b615 Updated Rector to commit 7b86097258194b383af82a9b7d3f965dc69c5e11
7b86097258 nullable type declaration for default null value (#2502)
2022-06-16 14:18:17 +00:00
Tomas Votruba
040df38ae9 Updated Rector to commit 20e187c070020b6f0b55b2532c8d73f44d7ea3a4
20e187c070 static lambda (#2505)
2022-06-16 14:14:21 +00:00
Tomas Votruba
ad124eac3f Updated Rector to commit f2035db06d23e11d05ede4fc8c5c546727570e54
f2035db06d fix wrong guard location (#2497)
2022-06-16 11:26:51 +00:00
Tomas Votruba
de3cb6a3c1 Updated Rector to commit f2035db06d23e11d05ede4fc8c5c546727570e54
f2035db06d fix wrong guard location (#2497)
2022-06-16 11:12:10 +00:00
Tomas Votruba
e94460a905 Updated Rector to commit f2035db06d23e11d05ede4fc8c5c546727570e54
f2035db06d fix wrong guard location (#2497)
2022-06-16 08:12:56 +00:00
Tomas Votruba
620e52804f Updated Rector to commit bba4a94719cad77069ca61b4af8033335ae61541
bba4a94719 [Php81] Fix crash on redis->set() on ReadOnlyPropertyRector (#2494)
2022-06-16 05:33:19 +00:00
Tomas Votruba
80a3820ca7 Updated Rector to commit 10fd4c349828c2753b6cfa499f5c917cd8e0646e
10fd4c3498 [Php70] Refactor MultiDirnameRector by moving nestingLevel check to separate method (#2488)
2022-06-15 07:03:39 +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
d88782de2e Updated Rector to commit b536a67738a444c83063d0b1f0c4f403d87088fa
b536a67738 [Scoped][e2e] Fix standalone rule test on scoped build (#2491)
2022-06-14 06:49:40 +00:00
Tomas Votruba
a3ff5f7dfe Updated Rector to commit aceb0e8a93a93da2cf8d4d479f701877753aebc3
aceb0e8a93 bump deps (#2490)
2022-06-13 23:15:18 +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
b8c32ad549 Updated Rector to commit 6f164da43933c1fa957b1cf62c23e4ceed4839f8
6f164da439 [Php55] Handle crash on concat variable single quote on PregReplaceEModifierRector (#2483)
2022-06-13 07:49:24 +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
a1d7c79c1b Updated Rector to commit 28ed5cf91639d0edf384fcf0d52ea02266b21657
28ed5cf916 [automated] Re-Generate Nodes/Rectors Documentation (#2479)
2022-06-12 14:01:14 +00:00
Tomas Votruba
7a181db4ce Updated Rector to commit 28ed5cf91639d0edf384fcf0d52ea02266b21657
28ed5cf916 [automated] Re-Generate Nodes/Rectors Documentation (#2479)
2022-06-12 00:34:46 +00:00
Tomas Votruba
7efb3b4f5f Updated Rector to commit e1188e9bffd33b902b51de71a3c2cf06ce48b9e2
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 16:43:01 +00:00
Tomas Votruba
524ce1d84d Updated Rector to commit e1188e9bffd33b902b51de71a3c2cf06ce48b9e2
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 16:29:43 +00:00
Tomas Votruba
836530a699 Updated Rector to commit e1188e9bffd33b902b51de71a3c2cf06ce48b9e2
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 15:50:57 +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
aac6955d81 Updated Rector to commit a6fb82623b836a681530ba3db383ec52c68d4d55
a6fb82623b Bump to phpstan/phpdoc-parser 1.6.2 (#2473)
2022-06-10 12:53:57 +00:00