Commit Graph

13110 Commits

Author SHA1 Message Date
Tomas Votruba
46f79a7750 Updated Rector to commit 85c3848e8b
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 4815cd9643
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 4ac7fa44bd
4ac7fa44bd [DowngradePhp81][DowngradePhp80] Add DowngradePhp81ResourceReturnToObjectRector and DowngradePhp80ResourceReturnToObjectRector (#1190)
2021-11-08 18:56:59 +00:00
Tomas Votruba
54fd7d0872 Updated Rector to commit d5ef517001
d5ef517001 PropertyTypeResolver enum test coverage (#1189)
2021-11-08 15:42:22 +00:00
Tomas Votruba
5bf8f08e83 Updated Rector to commit cb74bb6083
cb74bb6083 Prove bug with inverseJoinColumns (#1142)
2021-11-08 14:26:22 +00:00
Tomas Votruba
eb5063b360 Updated Rector to commit e899eaaabe
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 127428ac8a
127428ac8a [Downgrade PHP 5.6] Add DowngradeExponentialAssignmentOperatorRector (#1185)
2021-11-08 11:12:20 +00:00
Tomas Votruba
cf975f7d4d Updated Rector to commit b2d1749999
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 f98994d5dc
f98994d5dc [Downgrade PHP 5.6] Add DowngradeExponentialOperatorRector (#1181)
2021-11-07 18:22:19 +00:00
Tomas Votruba
a7d6ce4441 Updated Rector to commit d5f92968c0
d5f92968c0 Check namespaced name on non-anonymous class (#1180)
2021-11-07 15:47:10 +00:00
Tomas Votruba
be6c371dad Updated Rector to commit 3c6a68bf14
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 9614997c78
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 cb54cf0e97
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 fed8756bac
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 66800f00f1
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
2b0c5910b7 Updated Rector to commit 3c3340f943
3c3340f943 fix cs
2021-11-06 16:28:27 +00:00
Tomas Votruba
f672f1b109 Updated Rector to commit 8f7fea0925
8f7fea0925 remove deprecated FILE_INFO const attribute
2021-11-06 16:20:42 +00:00
Tomas Votruba
37d7f8d5dc Updated Rector to commit 938177433d
938177433d Deprecatd METHOD_NAME node (#1169)
2021-11-06 16:18:06 +00:00
Tomas Votruba
ee85d297c4 Updated Rector to commit 8e6701c3c9
8e6701c3c9 Merge ParentFinder to BetterNodeFinder (#1168)
2021-11-06 14:57:23 +00:00
Tomas Votruba
b5ad3a2e08 Updated Rector to commit 824df97e93
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 c3b6efea7e
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 e46fe290d8
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 a2154251b4
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 c3e5507d9a
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 c31cabf0b3
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 23046668ed
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 09f82ca2c4
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 b218e334ca
b218e334ca [DowngradePhp74] Add DowngradePreviouslyImplementedInterfaceRector (#1159)
2021-11-05 22:37:42 +00:00
Tomas Votruba
ff1ad0ced7 Updated Rector to commit e79aa9d760
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 49aa15dbfb
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 0c3527ebd8
0c3527ebd8 Make UseAnalyzer use object without keys (#1156)
2021-11-05 13:55:26 +00:00
Tomas Votruba
4d0c6bbe60 Updated Rector to commit 9d626ea104
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 2906122a77
2906122a77 fix array name
2021-11-05 12:58:17 +00:00
Tomas Votruba
8c3ab8ea78 Updated Rector to commit 54a25e07de
54a25e07de add union alias test
2021-11-05 11:34:48 +00:00
Tomas Votruba
290b7a0522 Updated Rector to commit cf516201b8
cf516201b8 misc (#1154)
2021-11-05 11:26:12 +00:00
Tomas Votruba
0ded6c5dae Updated Rector to commit 938dbc0893
938dbc0893 improve UseAnalyzerTest
2021-11-05 11:15:05 +00:00
Tomas Votruba
61ef62bb22 Updated Rector to commit 9b686376e5
9b686376e5 [PostRector] Improve UseNodesToAddCollector (#1151)
2021-11-05 10:26:23 +00:00
Tomas Votruba
d42bc5b694 Updated Rector to commit 1e94a70450
1e94a70450 [DowngradePhp72] Improve DowngradeParameterTypeWideningRector (#1150)
2021-11-05 10:25:23 +00:00
Tomas Votruba
d5469fb5cf Updated Rector to commit 502cc04dac
502cc04dac Add UseAnalyzer test + use returned variables (#1148)
2021-11-05 00:34:16 +00:00
Tomas Votruba
bcf5df49d8 Updated Rector to commit f9f4b93ab9
f9f4b93ab9 Add UseManipulatorTest (#1149)
2021-11-05 00:25:28 +00:00
Tomas Votruba
aab21d01fd Updated Rector to commit 3706416e7c
3706416e7c Add test case with union partials (#1147)
2021-11-04 21:09:49 +00:00
Tomas Votruba
0dac24df6c Updated Rector to commit 78f7f0dec1
78f7f0dec1 Add ShortNameResolver test (#1146)
2021-11-04 20:44:47 +00:00
Tomas Votruba
c6e32aa319 Updated Rector to commit 5c32bd09e7
5c32bd09e7 Remove FileNodeVisitor, available in AbstractRector (#1145)
2021-11-04 19:17:47 +00:00
Tomas Votruba
504a41770d Updated Rector to commit f8e04774ad
f8e04774ad Fixing scoped build (#1143)
2021-11-04 15:30:20 +00:00
Tomas Votruba
8db8a4be7b Updated Rector to commit 6cbc5d4caf
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 10538f9f24
10538f9f24 [Php 81] Add Php81ResourceReturnToObjectRector (#1114)
2021-11-03 09:07:29 +00:00
Tomas Votruba
c69bc27db8 Updated Rector to commit b119422428
b119422428 [TypeDeclaration] Skip ternary on ParamTypeByMethodCallTypeRector (#1131)
2021-11-03 09:04:47 +00:00
Tomas Votruba
f83732a356 Updated Rector to commit 6cbc5d4caf
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 37ade3fd6b
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 c86a6eaccb
c86a6eaccb add missing NetteComponentFactoryInterfaceAnalyzer
2021-11-03 08:53:54 +00:00