Commit Graph

2893 Commits

Author SHA1 Message Date
Tomas Votruba
48f2d98170 Updated Rector to commit 40ec551978
40ec551978 [DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector (#1321)
2021-11-27 09:53:00 +00:00
Tomas Votruba
8eea9baa39 Updated Rector to commit 9f7b0e3f5c
9f7b0e3f5c Add trait support to AddPropertyTypeDeclarationRector (#1320)
2021-11-26 20:49:38 +00:00
Tomas Votruba
4c91ed1b0a Updated Rector to commit 99a337285a
99a337285a [TypeDeclaration] Add AddPropertyTypeDeclaration rule (#1317)
2021-11-26 20:07:54 +00:00
Tomas Votruba
b86475b1ef Updated Rector to commit 5a0947d9a2
5a0947d9a2 [Renaming] Handle rename template tag of class on RenameClassRector (#1318)
2021-11-26 17:20:22 +00:00
Tomas Votruba
b2791fedf7 Updated Rector to commit 6aeef64c72
6aeef64c72 [CodeQuality] Add ReplaceMultipleBooleanNotRector (#1319)
2021-11-26 17:13:16 +00:00
Tomas Votruba
738852dc1a Updated Rector to commit 1255b91c20
1255b91c20 [PHP 8.2] Add rule for AllowDynamicProperties attribute (#1225)
2021-11-26 11:19:23 +00:00
Tomas Votruba
d0bce4cc7c Updated Rector to commit 53c12d4908
53c12d4908 misc
2021-11-25 21:43:49 +00:00
Tomas Votruba
215fcca5d1 Updated Rector to commit 50a78a6008
50a78a6008 [Downgrade PHP 7.0] Add DowngradeClosureCallRector (#1304)
2021-11-25 21:14:19 +00:00
Tomas Votruba
2f9d13bd92 Updated Rector to commit aa72166505
aa72166505 [DeadCode] Remove RemoveAssignOfVoidReturnFunctionRector as unreliable, let PHPStan report and use handle various cases (#1313)
2021-11-25 19:16:58 +00:00
Tomas Votruba
17e1139e1f Updated Rector to commit dfe5bcfabc
dfe5bcfabc Misc (#1312)
2021-11-25 19:08:52 +00:00
Tomas Votruba
cf2bb9a656 Updated Rector to commit dc07c1f9a8
dc07c1f9a8 [CodingStyle] Remove PreslashSimpleFunctionRector, let php-cs-fixer doing good work handle that (#1310)
2021-11-25 18:41:12 +00:00
Tomas Votruba
2e12547179 Updated Rector to commit ca10153277
ca10153277 Fix Param to Method call override (#1308)
2021-11-25 13:18:28 +00:00
Tomas Votruba
cdff1edc5d Updated Rector to commit dd7bc52135
dd7bc52135 Move ChangeGlobalVariablesToPropertiesRector from ClassMethod to Class_ node, to keep the minimal changed scope in active nodes (#1307)
2021-11-25 13:07:04 +00:00
Tomas Votruba
3830b5616f Updated Rector to commit 62474db941
62474db941 Fix node invalid types discovered by PHPStan scope refresh (#1306)
2021-11-25 13:01:10 +00:00
Tomas Votruba
4dc2c773aa Updated Rector to commit 14f67de7e9
14f67de7e9 [League] Remove only League upgrade set from core, give space for community package with whole vendor (#1305)
2021-11-25 12:53:25 +00:00
Tomas Votruba
3c4575dfa1 Updated Rector to commit 12ac17392f
12ac17392f Decouple TraitScopeFaker (#1302)
2021-11-25 10:37:36 +00:00
Tomas Votruba
27f9fb751d Updated Rector to commit 9ba0f6305f
9ba0f6305f [DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1301)
2021-11-25 05:43:26 +00:00
Tomas Votruba
eedc2efbf7 Updated Rector to commit cfae725119
cfae725119 Remove mixing workaround, not needed anymore (#1300)
2021-11-24 20:49:18 +00:00
Tomas Votruba
b1b89512db Updated Rector to commit 34844eb659
34844eb659 Fix code sample (#1299)
2021-11-24 19:57:13 +00:00
Tomas Votruba
00645c017c Updated Rector to commit 0e96615c36
0e96615c36 [DX] Explicitly inject visibility manipulator service instead of parent constructor (#1298)
2021-11-24 11:00:16 +00:00
Tomas Votruba
46657359bb Updated Rector to commit 3d49ef2015
3d49ef2015 Add support for arrow functions in DowngradeUnionTypeDeclarationRector (#1296)
2021-11-24 10:21:00 +00:00
Tomas Votruba
786528284b Updated Rector to commit f8e8efa728
f8e8efa728 Update how_it_works.md (#1293)
2021-11-24 00:11:27 +00:00
Tomas Votruba
8ca423734b Updated Rector to commit b25be38ca1
b25be38ca1 [Downgrade PHP 5.5] Add DowngradeBoolvalRector (#1292)
2021-11-23 20:37:15 +00:00
Tomas Votruba
2872435ad4 Updated Rector to commit 5ad0089b03
5ad0089b03 [Downgrade PHP 8.1] Add DowngradePureIntersectionTypeRector (#1281)
2021-11-23 13:42:01 +00:00
Tomas Votruba
b21c7e2dc8 Updated Rector to commit 21c9c1c16d
21c9c1c16d fix symfony/console compatibility break with psr/log
2021-11-23 13:20:36 +00:00
Tomas Votruba
3c750baf30 Updated Rector to commit f5d4f9dd76
f5d4f9dd76 [Php81] Apply constructor promotion on NewInInitializerRector (#1288)
2021-11-22 09:01:31 +00:00
Tomas Votruba
5247894450 Updated Rector to commit 62f5b156a3
62f5b156a3 [DX] Use main configure() option directly (#1285)
2021-11-21 22:13:29 +00:00
Tomas Votruba
cae65c2537 Updated Rector to commit 63ed131c3f
63ed131c3f [automated] Re-Generate Nodes/Rectors Documentation (#1284)
2021-11-21 00:34:01 +00:00
Tomas Votruba
35f0a1056d Updated Rector to commit 26d3965421
26d3965421 Update PHPDoc with missing type (#1279)
2021-11-20 14:22:07 +00:00
Tomas Votruba
2d7c98b0a1 Updated Rector to commit bc5462b8ae
bc5462b8ae [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector + RemoveAlwaysElseRector (#1277)
2021-11-20 13:38:45 +00:00
Tomas Votruba
12927071ac Updated Rector to commit f83d744158
f83d744158 [PHP 8.1] Add nested attributes support - part #1 (#1266)
2021-11-20 10:45:53 +00:00
Tomas Votruba
cd31960a43 Updated Rector to commit 60c06a7fbf
60c06a7fbf fix downgrade
2021-11-20 10:43:40 +00:00
Tomas Votruba
b522cb4146 Updated Rector to commit fa20738aa4
fa20738aa4 [Downgrade PHP 8.1] Add DowngradeNewInInitializerRector (#1275)
2021-11-19 20:52:59 +00:00
Tomas Votruba
1f018384f8 Updated Rector to commit 511d649e49
511d649e49 Cleanup annotations (#1274)
2021-11-19 10:19:13 +00:00
Tomas Votruba
7e333cd42a Updated Rector to commit 7143376acb
7143376acb [EarlyReturn][Php73] Handle JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1272)
2021-11-19 09:08:20 +00:00
Tomas Votruba
236be0be1f Updated Rector to commit f6a6b354b5
f6a6b354b5 [PHP 8.0] Remove annotation un-nesting from PHP 8.0 annotations to attributes (#1271)
2021-11-18 21:01:01 +00:00
Tomas Votruba
344e71145e Updated Rector to commit 1a4c5fb325
1a4c5fb325 Cleanup (#1270)
2021-11-18 19:27:39 +00:00
Tomas Votruba
fd1f0970b7 Updated Rector to commit 78829b317a
78829b317a Decouple ConstructorClassMethodFactory (#1269)
2021-11-18 19:24:25 +00:00
Tomas Votruba
976ae72f73 Updated Rector to commit 587d8d8058
587d8d8058 [Downgrade PHP 8.1] Add DowngradeReadonlyPropertyRector (#1262)
2021-11-18 19:20:31 +00:00
Tomas Votruba
2ebb3ec25d Updated Rector to commit 1258576514
1258576514 Cleanup (#1268)
2021-11-18 19:01:15 +00:00
Tomas Votruba
faf329350d Updated Rector to commit 59809f30ca
59809f30ca [Downgrade PHP 8.1] Add DowngradeFirstClassCallableSyntaxRector (#1267)
2021-11-18 18:48:10 +00:00
Tomas Votruba
652387c99b Updated Rector to commit 84ad2fbe82
84ad2fbe82 [Compatibility] Add AttributeCompatibleAnnotationRector (#1263)
2021-11-18 09:50:32 +00:00
Tomas Votruba
5e0eef55a5 Updated Rector to commit c6473c6a0b
c6473c6a0b [Php81] Fix NewInInitializerRector code sample (#1264)
2021-11-18 07:58:51 +00:00
Tomas Votruba
dc03241b5b Updated Rector to commit d2f7c2ee24
d2f7c2ee24 [PHP 8.0] Extend DoctrineAnnotationClassToAttributeRector rule to cover short target annotations (#1260)
2021-11-17 17:46:14 +00:00
Tomas Votruba
5f23715e04 Updated Rector to commit 660adeb2bf
660adeb2bf [Downgrade PHP 8.1] Add DowngradeNeverTypeDeclarationRector (#1259)
2021-11-17 12:57:34 +00:00
Tomas Votruba
0b8f765944 Updated Rector to commit a86cd63bd3
a86cd63bd3 [Downgrade PHP 5.5] Add DowngradeForeachListRector (#1256)
2021-11-17 11:35:17 +00:00
Tomas Votruba
6a4509167f Updated Rector to commit 26cb6b59e6
26cb6b59e6 Update PHPDoc with missing type (#1257)
2021-11-17 11:02:09 +00:00
Tomas Votruba
0dfa17da75 Updated Rector to commit 02905ca0f4
02905ca0f4 Fix code sample (#1255)
2021-11-17 10:17:06 +00:00
Tomas Votruba
1dfe61b0be Updated Rector to commit 7f14716390
7f14716390 [Php80] Handle schema on Table with UniqueConstraint on AnnotationToAttributeRector (#1252)
2021-11-17 07:16:56 +00:00
Tomas Votruba
ee29ff17d4 Updated Rector to commit f0b639bbaa
f0b639bbaa Update to nikic/php-parser 4.13.1 (#1253)
2021-11-17 07:16:43 +00:00