13086 Commits

Author SHA1 Message Date
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
Tomas Votruba
0420629279 Updated Rector to commit 20c0d2eca882793ce82b9c692ae9b475695a7c61
20c0d2eca8 [PHPStan 1.0] Remove ReflectionWithFilename (#1118)
2021-10-31 18:04:12 +00:00
Tomas Votruba
54f8d6dc33 Updated Rector to commit da4d598bf0fc20b831e138407263b82645109bdf
da4d598bf0 [PHPStan 1.0] resolve FunctionReflection getFileName() from main interface (#1117)
2021-10-31 15:30:19 +00:00
Tomas Votruba
bc0758f741 Updated Rector to commit 4ddd98618df414831bf79c42fb29aab22b3cb81e
4ddd98618d [TypeDeclaration] Add mixed[] array back on complex class-string structure on CompleteVarDocTypePropertyRector (#1116)
2021-10-30 15:59:53 +00:00
Tomas Votruba
31b82ed68d Updated Rector to commit 6a894b4939070e3e1f62b61a1ce9755203951ac8
6a894b4939 [PHPStan 1.0] Remove sorted union types, now handled by default (#1112)
2021-10-30 14:20:34 +00:00
Tomas Votruba
a94a50e863 Updated Rector to commit e525dad6ab1a005e79b751f4cfb1eaf94ae3c90f
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba
87204a6592 Updated Rector to commit cfcd16acc7620cf95de1d72edd12265c05e12f12
cfcd16acc7 [PHPStan 1.0] Use processNodes() over processNodeStmts() (#1111)
2021-10-30 13:46:34 +00:00
Tomas Votruba
c90fff5b41 Updated Rector to commit 95ad690d94aacddc72af7ab6c33be0d4d15db22c
95ad690d94 [PHPStan 1.0] use selectFromArgs() for function reflectoin to get passed by reference positoins (#1113)
2021-10-30 13:43:30 +00:00
Tomas Votruba
a1ac9ec25d Updated Rector to commit 8a546871ef14add3aca94c9df56c99e967d823db
8a546871ef remove fixed phsptan errors
2021-10-30 00:11:35 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b48bd11252f78a6439d8cd43d65a7f64
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00
Tomas Votruba
76ed56b260 Updated Rector to commit c6d2339cb72f51d572918054389e04582619f16b
c6d2339cb7 Add InflectorSingularResolverTest (#1107)
2021-10-29 23:49:05 +00:00