13096 Commits

Author SHA1 Message Date
Tomas Votruba
7f56f8ae35 Updated Rector to commit 66800f00f1ec158f96416b8e0b84c93f54abb1d5
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
2b0c5910b7 Updated Rector to commit 3c3340f943e6e48ef3f23b54d99e967ce9948b2c
3c3340f943 fix cs
2021-11-06 16:28:27 +00:00
Tomas Votruba
f672f1b109 Updated Rector to commit 8f7fea0925cc00d35b1607122b8719f8d7597007
8f7fea0925 remove deprecated FILE_INFO const attribute
2021-11-06 16:20:42 +00:00
Tomas Votruba
37d7f8d5dc Updated Rector to commit 938177433d0bb01375c92dd9111071f0f57680f3
938177433d Deprecatd METHOD_NAME node (#1169)
2021-11-06 16:18:06 +00:00
Tomas Votruba
ee85d297c4 Updated Rector to commit 8e6701c3c93501bb84e388d9e3aae349012c5cc1
8e6701c3c9 Merge ParentFinder to BetterNodeFinder (#1168)
2021-11-06 14:57:23 +00:00
Tomas Votruba
b5ad3a2e08 Updated Rector to commit 824df97e93bb43baca8f22a6f6a0f537a0049dd6
824df97e93 [DX] Move from CLASS_METHOD node attribute to parent finder (#1167)
2021-11-06 14:25:01 +00:00
Tomas Votruba
a42ac7439f Updated Rector to commit c3b6efea7ee5351ce66461fe02c5f9b7282816bb
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba
9ef85318a2 Updated Rector to commit e46fe290d8696139ff59e2432021620ffc710d4b
e46fe290d8 [PhpSpecToPHPUnit] Move outside class to Source when possible (#1165)
2021-11-06 09:49:44 +00:00
Tomas Votruba
110d7b3234 Updated Rector to commit a2154251b45f3d8f928c2093473e7cbe2c40fe46
a2154251b4 [DeadCode] Restore RemoveUnusedPrivatePropertyRector behaviour on no usage outside anonymous class (#1164)
2021-11-06 08:54:26 +00:00
Tomas Votruba
abfdf7ea49 Updated Rector to commit c3e5507d9af450918601192c23d3e2f67a4d73d0
c3e5507d9a [PhpSpecToPHPUnit] Restore PhpSpecToPHPUnitRector behaviour on namespaced name usage (#1163)
2021-11-06 02:59:53 +00:00
Tomas Votruba
bf8d644cbf Updated Rector to commit c31cabf0b3a67d59000824836fa5fc42ec1a2d2f
c31cabf0b3 [MYSQL_TO_MYSQLI] Restore Mysql to Mysqli Behaviour when used with Dead Code SetList (#1161)
2021-11-06 00:53:30 +00:00
Tomas Votruba
4743880dc6 Updated Rector to commit 23046668ed10da4dbe39cbefdeb4c10fa478b81d
23046668ed [PHPStan 1.0] Remove node naming visitors and re-use PHPStan ones (#1144)
2021-11-05 23:24:22 +00:00
Tomas Votruba
522e8f7eae Updated Rector to commit 09f82ca2c4358283fffb65ab75a48b33c22ba232
09f82ca2c4 [CodeQuality] Remove FixClassCaseSensitivityNameRector, conflicting with name node removal and edge case already handled by PHPStan reports (#1160)
2021-11-05 22:53:47 +00:00
Tomas Votruba
4286dd4a43 Updated Rector to commit b218e334cae2644a56004c25ab2aa637437b2935
b218e334ca [DowngradePhp74] Add DowngradePreviouslyImplementedInterfaceRector (#1159)
2021-11-05 22:37:42 +00:00
Tomas Votruba
ff1ad0ced7 Updated Rector to commit e79aa9d760803cb2c7179bbe9822486805a92f5b
e79aa9d760 [Core][CodingStyle][NodeManipulator] Improve Classes to use BetterNodeFinder instead of NodeFinder when BetterNodeFinder already injected (#1158)
2021-11-05 17:11:17 +00:00
Tomas Votruba
c76f97bfb2 Updated Rector to commit 49aa15dbfb1932401ae68310c4064c273259ea4e
49aa15dbfb [CodingStyle] Deprecate RemoveUnusedAliasRector, job rather for coding standard tool and opinonated (#1157)
2021-11-05 14:38:48 +00:00
Tomas Votruba
a666365958 Updated Rector to commit 0c3527ebd8f871d71119b46e00cb001680fe76c1
0c3527ebd8 Make UseAnalyzer use object without keys (#1156)
2021-11-05 13:55:26 +00:00
Tomas Votruba
4d0c6bbe60 Updated Rector to commit 9d626ea10489bcfa78c056da1349bccc1481a190
9d626ea104 [Renaming] Rename class method implements interface with method exists (#1155)
2021-11-05 13:48:57 +00:00
Tomas Votruba
5cbc501c15 Updated Rector to commit 2906122a774718fb99d751d86f8595c9f606a552
2906122a77 fix array name
2021-11-05 12:58:17 +00:00
Tomas Votruba
8c3ab8ea78 Updated Rector to commit 54a25e07dec6cd545ba5122927ea63be0dfc0a83
54a25e07de add union alias test
2021-11-05 11:34:48 +00:00
Tomas Votruba
290b7a0522 Updated Rector to commit cf516201b8a51b08852e5f6e2c9c60cd3cd48992
cf516201b8 misc (#1154)
2021-11-05 11:26:12 +00:00
Tomas Votruba
0ded6c5dae Updated Rector to commit 938dbc089354abe890d06730b804335211fea4b1
938dbc0893 improve UseAnalyzerTest
2021-11-05 11:15:05 +00:00
Tomas Votruba
61ef62bb22 Updated Rector to commit 9b686376e5f032a9aed653da850bffb3db711a30
9b686376e5 [PostRector] Improve UseNodesToAddCollector (#1151)
2021-11-05 10:26:23 +00:00
Tomas Votruba
d42bc5b694 Updated Rector to commit 1e94a7045029d16fc4932fdd8127691c07813d4c
1e94a70450 [DowngradePhp72] Improve DowngradeParameterTypeWideningRector (#1150)
2021-11-05 10:25:23 +00:00
Tomas Votruba
d5469fb5cf Updated Rector to commit 502cc04dacff9c8b3ff1297878968e90ae4e55d0
502cc04dac Add UseAnalyzer test + use returned variables (#1148)
2021-11-05 00:34:16 +00:00
Tomas Votruba
bcf5df49d8 Updated Rector to commit f9f4b93ab9f63fd775391446f3b749d9abcca5b7
f9f4b93ab9 Add UseManipulatorTest (#1149)
2021-11-05 00:25:28 +00:00
Tomas Votruba
aab21d01fd Updated Rector to commit 3706416e7cc5ceff6c6ccab56973d37259a811e9
3706416e7c Add test case with union partials (#1147)
2021-11-04 21:09:49 +00:00
Tomas Votruba
0dac24df6c Updated Rector to commit 78f7f0dec1e3a5a882abc45672c2c3e43c283c42
78f7f0dec1 Add ShortNameResolver test (#1146)
2021-11-04 20:44:47 +00:00
Tomas Votruba
c6e32aa319 Updated Rector to commit 5c32bd09e7a3436116186fa3ff2d65f560b5fe04
5c32bd09e7 Remove FileNodeVisitor, available in AbstractRector (#1145)
2021-11-04 19:17:47 +00:00
Tomas Votruba
504a41770d Updated Rector to commit f8e04774ad93d0979b0a9eee8fd2e2c555ff19ad
f8e04774ad Fixing scoped build (#1143)
2021-11-04 15:30:20 +00:00
Tomas Votruba
8db8a4be7b Updated Rector to commit 6cbc5d4caf64061bd69834a394573f78520f3dd1
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:28:30 +00:00
Tomas Votruba
77842319c1 Updated Rector to commit 10538f9f248aac7e5f0f11acc7a8287bedf87127
10538f9f24 [Php 81] Add Php81ResourceReturnToObjectRector (#1114)
2021-11-03 09:07:29 +00:00
Tomas Votruba
c69bc27db8 Updated Rector to commit b11942242883c965756d02faba8357884df8131c
b119422428 [TypeDeclaration] Skip ternary on ParamTypeByMethodCallTypeRector (#1131)
2021-11-03 09:04:47 +00:00
Tomas Votruba
f83732a356 Updated Rector to commit 6cbc5d4caf64061bd69834a394573f78520f3dd1
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:03:16 +00:00
Tomas Votruba
31a19d91a2 Updated Rector to commit 37ade3fd6bc18440bcdc5b6c6ef241fbe5ecad79
37ade3fd6b [DeadCode] Handle bool var if cond return true next return bool var on RemoveDuplicatedIfReturnRector (#1136)
2021-11-03 08:59:31 +00:00
Tomas Votruba
eec0bf7d81 Updated Rector to commit c86a6eaccb1ebc35a5a6675900bb50b27dce367a
c86a6eaccb add missing NetteComponentFactoryInterfaceAnalyzer
2021-11-03 08:53:54 +00:00
Tomas Votruba
4ca6af551e Updated Rector to commit aab9bcfa920b44e3316e4067dc2c91b0be4291b5
aab9bcfa92 Trigger CI to test removed classes in separate packages (#1135)
2021-11-03 00:08:12 +00:00
Tomas Votruba
7e28d6f888 Updated Rector to commit 5ff5c7d1ac192935dc18ec771c5ae3a5c9fa7ee5
5ff5c7d1ac drop outdated UPGRADE file, see releases instead
2021-11-02 20:37:54 +00:00
Tomas Votruba
233848dc76 Updated Rector to commit 083ae923f8949bf60b30e073a2cb25e8de8d907f
083ae923f8 remove unused patch, now fixed in symfony/console
2021-11-02 20:36:39 +00:00
Tomas Votruba
afdf157297 Updated Rector to commit ff45ce65dd03e48bc4c63d4d68d4a9c7549c8698
ff45ce65dd Remove dead classes #2, remove unused PlatformAgnosticAssertions, remove ConsoleShowOutputFormatter (#1134)
2021-11-02 20:06:11 +00:00
Tomas Votruba
8e7dd2e640 Updated Rector to commit b7d37b828e90ea52b8f83eadc825598f087e27e6
b7d37b828e Remove dead classes (#1133)
2021-11-02 16:51:44 +00:00
Tomas Votruba
40f2bcdb1e Updated Rector to commit 29b79786e2b798b0f1e6b0f3c7fba5c305e97dfb
29b79786e2 add getStringValue() to value resolver (#1130)
2021-11-02 15:11:40 +00:00
Tomas Votruba
a3dbd26c74 Updated Rector to commit 954ffad1e58f9640e9581ee3a6bbbc6bbdb385fa
954ffad1e5 extend MethodCallRenameInterface contract with getClass() (#1129)
2021-11-02 09:33:40 +00:00
Tomas Votruba
c7efc375b8 Updated Rector to commit df233273aa078a74f464359a522984bce7d6d4f1
df233273aa [DeadCode] Skip dynamic fetch method call on RemoveUnusedPrivateMethodRector (#1128)
2021-11-02 08:30:09 +00:00
Tomas Votruba
e19ec3e214 Updated Rector to commit 8e9ef8786ecc1a1b122b55b361c36b3fec734c7e
8e9ef8786e [DeadCode] Skip Union with Interface on RemoveUselessParamTagRector (#1127)
2021-11-02 08:10:20 +00:00
Tomas Votruba
2e028e5734 Updated Rector to commit 2b09156f51ccc949abb690f84a534fc65d1353c6
2b09156f51 [PHPStan] Skip PHPStan error message on RectorConfigsResolver check realpath (#1126)
2021-11-01 18:00:00 +00:00
Tomas Votruba
20d25ed33b Updated Rector to commit 539f70a5b55e3e6964f3f6651a64fe6c6b86416d
539f70a5b5 [Php70][Visibility] Avoid error Argument #1 () must be of type PHPStan\Analyser\Scope, null given (#1120)
2021-11-01 16:20:41 +00:00
Tomas Votruba
53905d9ec8 Updated Rector to commit 99dfbea361b6a84f5f89d8ef681b344650c19957
99dfbea361 Fix parent converting of union type based on token position (#1123)
2021-11-01 15:44:03 +00:00
Tomas Votruba
79e2c681df Updated Rector to commit 222f44fd7490db0bea0d88835381ce0e3012b748
222f44fd74 update namespace for ContainerBuilderFactory
2021-11-01 15:16:28 +00:00
Tomas Votruba
607db8843e Updated Rector to commit f3556e6d6d70e2550cc8f17d6c57a2eae1a4ccc5
f3556e6d6d require symfony/contracts, to make downgrade of console work
2021-11-01 14:32:25 +00:00