13110 Commits

Author SHA1 Message Date
Tomas Votruba
46f79a7750 Updated Rector to commit 85c3848e8ba6a4e4a7e3d29abce4995e3254ac55
85c3848e8b [DowngradePhp80/81] Refactor Downgrade Resource Return to Object to use BooleanOr check (#1193)
2021-11-08 20:33:54 +00:00
Tomas Votruba
59fbea4817 Updated Rector to commit 4815cd96435238908581d54a6d4dc80478750ee4
4815cd9643 [DowngradePhp81/80] Skip combine check with is_resource and instanceof Object (#1192)
2021-11-08 19:40:36 +00:00
Tomas Votruba
b8ef7203ef Updated Rector to commit 4ac7fa44bd095eabf66386da273d7a84db8ee10e
4ac7fa44bd [DowngradePhp81][DowngradePhp80] Add DowngradePhp81ResourceReturnToObjectRector and DowngradePhp80ResourceReturnToObjectRector (#1190)
2021-11-08 18:56:59 +00:00
Tomas Votruba
54fd7d0872 Updated Rector to commit d5ef517001c2aced9ea54d01e17660fd081e926f
d5ef517001 PropertyTypeResolver enum test coverage (#1189)
2021-11-08 15:42:22 +00:00
Tomas Votruba
5bf8f08e83 Updated Rector to commit cb74bb6083dbb2036d61b3efcc2512814db19a48
cb74bb6083 Prove bug with inverseJoinColumns (#1142)
2021-11-08 14:26:22 +00:00
Tomas Votruba
eb5063b360 Updated Rector to commit e899eaaabe577485566ec0e521a69777090cb3ee
e899eaaabe [TypeDeclaration] Skip nullable self referencing param and return on AddArrayParamDocTypeRector and ReturnTypeDeclarationRector (#1183)
2021-11-08 12:42:42 +00:00
Tomas Votruba
20a926c0f3 Updated Rector to commit 127428ac8ab5d0e360cadd79bb69e14e0d5636b3
127428ac8a [Downgrade PHP 5.6] Add DowngradeExponentialAssignmentOperatorRector (#1185)
2021-11-08 11:12:20 +00:00
Tomas Votruba
cf975f7d4d Updated Rector to commit b2d174999982e504501d85a94fcaa0b4fcf7d693
b2d1749999 Fix issue of parsing PHP 8 sources on PHP 7.x (#1184)
2021-11-08 09:21:05 +00:00
Tomas Votruba
d0e0ad7a46 Updated Rector to commit f98994d5dca0df0a93487b01eb8c73288cb92897
f98994d5dc [Downgrade PHP 5.6] Add DowngradeExponentialOperatorRector (#1181)
2021-11-07 18:22:19 +00:00
Tomas Votruba
a7d6ce4441 Updated Rector to commit d5f92968c042fdcc3a5acc6d1d95f117289fec3b
d5f92968c0 Check namespaced name on non-anonymous class (#1180)
2021-11-07 15:47:10 +00:00
Tomas Votruba
be6c371dad Updated Rector to commit 3c6a68bf143f661cc579b351993f7df7be07e020
3c6a68bf14 [PHP 7.4] Improve foreach tokens on new node (#1179)
2021-11-07 15:31:22 +00:00
Tomas Votruba
545879c4de Updated Rector to commit 9614997c78837ffe3755eb2584473213a290c8ed
9614997c78 [Parallel] Add SerializableInterface to File, RectorError and FileDiff value objects (#1178)
2021-11-07 14:41:05 +00:00
Tomas Votruba
4a6ab99856 Updated Rector to commit cb54cf0e97715964e31009bb41a04480a218d80f
cb54cf0e97 [Scoped] Update phpstan/phpdoc-parser conflict confit to < 1.2 (#1176)
2021-11-07 06:43:37 +00:00
Tomas Votruba
6a9f454c15 Updated Rector to commit fed8756bacf4220a777936c2456e326379ccfa77
fed8756bac [PHPStan] Remove phpstan <=0.12.99 from conflict config (#1175)
2021-11-07 06:24:52 +00:00
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