Tomas Votruba
495bfd639d
Updated Rector to commit 0fec333ff5813be7d8de6cc9295ec393b1550585
...
0fec333ff5
[Php70] Swap min is higher than max on RandomFunctionRector (#6109 )
2024-07-03 15:21:57 +00:00
Tomas Votruba
738f33982e
Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
...
ef333502fb
Make NameScopeFactory simpler (#6092 )
2024-07-01 06:16:16 +00:00
Tomas Votruba
10e64410ff
Updated Rector to commit 87411545f3ddb40fef7cbefcac5b7a0d3c511242
...
87411545f3
[Cleanup] Remove @changelog as no longer maintained/used, use RuleDefinition instead (#6035 )
2024-06-26 03:35:12 +00:00
Tomas Votruba
f010267a7c
Updated Rector to commit 6b69971dfc740a58aed918782d02710e42004e9d
...
6b69971dfc
[NodeTypeCorrector] Directly use StringType on Intersection of strings on AccessoryNonEmptyStringTypeCorrector (#5933 )
2024-06-01 09:25:16 +00:00
Tomas Votruba
12c115e6f6
Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
...
5193d43b64
[NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852 )
2024-05-02 02:21:56 +00:00
Tomas Votruba
664f4e3a6b
Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
...
0f1987b0fa
Adds a link to the PHP Static Analysis Attributes rector rules (#5787 )
2024-04-01 16:51:34 +00:00
Tomas Votruba
695c190be3
Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
...
94b5561ca8
chore: bump min version of github actions (fix deprecations) (#5675 )
2024-03-01 20:02:28 +00:00
Tomas Votruba
b0211bc3d8
Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
...
fa75fcf0d1
[Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542 )
2024-02-01 23:54:40 +00:00
Tomas Votruba
6cacf30624
Updated Rector to commit 7e2495e5f572bb566a845a0e1a6329cf141f872d
...
7e2495e5f5
[Php70] Skip inside Encapsed on ThisCallOnStaticMethodToStaticCallRector (#5481 )
2024-01-19 14:05:32 +00:00
Tomas Votruba
7e7a2f067a
Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
...
476cfb00cb
disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
7ba32aac1f
Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
...
e12c73eb33
[psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407 )
2024-01-01 00:20:45 +00:00
Tomas Votruba
2a8dd1b78f
Updated Rector to commit 368075b95cf10dff9d0313abbe94d3c6d3b28f67
...
368075b95c
[PHP 7.0] Skip mt_rand() replacement as not valuable (#5315 )
2023-12-03 10:51:00 +00:00
Tomas Votruba
c5421dfd82
Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
...
e48234e239
Skip RenameMethodRector in never (#5305 )
2023-12-01 09:49:11 +00:00
Tomas Votruba
184cf49468
Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
...
f9de5d311e
[Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219 )
2023-11-02 03:20:18 +00:00
Tomas Votruba
ae4c0b72cb
Updated Rector to commit 72cdbd0613318b797455deba64ebe6358d58af42
...
72cdbd0613
[CodeQuality][Php70] Handle LocallyCalledStaticMethodToNonStaticRector + ThisCallOnStaticMethodToStaticCallRector must change both method and caller (#5196 )
2023-10-26 07:11:41 +00:00
Tomas Votruba
654c818f4e
Updated Rector to commit 5ac3cb377abf968396c23573d8562e6ab6967f2a
...
5ac3cb377a
[Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189 )
2023-10-19 13:47:36 +00:00
Tomas Votruba
671f50c702
Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
...
ee71539694
[NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099 )
2023-10-01 01:36:35 +00:00
Tomas Votruba
3827f75ecd
Updated Rector to commit 23d429233d37af0d743b4d4dc622828c704d2d2f
...
23d429233d
[DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5052 )
2023-09-20 12:53:23 +00:00
Tomas Votruba
326e84f967
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-09-01 11:10:35 +00:00
Tomas Votruba
80654c23af
Updated Rector to commit 8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361
...
8ae33c5f7c
[Php70] Remove appendArgs() usage on CallUserMethodRector (#4731 )
2023-08-09 12:42:27 +00:00
Tomas Votruba
aae549741f
Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
...
0cb3fd0feb
[Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626 )
2023-08-01 10:55:14 +00:00
Tomas Votruba
78d51cc3eb
Updated Rector to commit 0ff50c06d0c90ed0a678fd56261ab40b25f8b29f
...
0ff50c06d0
[Reflection] Reduce Scope pulling on ReflectionResolver (#4548 )
2023-07-20 07:43:17 +00:00
Tomas Votruba
1463cdd31a
Updated Rector to commit d64a761597a5e2f8b9158c770dcad5de08286f69
...
d64a761597
[Php70] Remove $scope->isInClass on Php4ConstructorRector (#4507 )
2023-07-13 16:34:50 +00:00
Tomas Votruba
7312a4cf9b
Updated Rector to commit d4be167d7e1bc3940db01d3a2096df7aa9cebe1c
...
d4be167d7e
Fix trait rename in Php4ConsturctorRector (#4487 )
2023-07-12 08:11:47 +00:00
Tomas Votruba
6981c70c9a
Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
...
9ed8c21b12
[DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388 )
2023-07-01 09:41:56 +00:00
Tomas Votruba
b326a57561
Updated Rector to commit 805b7b7d39fcd989873452ddbbd57e2a76150022
...
805b7b7d39
[Performance] Do not traverse current and children on context check Break_ and If_ (#4271 )
2023-06-18 06:22:16 +00:00
Tomas Votruba
a80b7eaeaf
Updated Rector to commit 3d07c26d3efc4c0c16cbbe1fb347114e0178cc5e
...
3d07c26d3e
[Php70] Remove parent lookup for Break_ inside Switch_ on BreakNotInLoopOrSwitchToReturnRector (#4269 )
2023-06-18 05:21:33 +00:00
Tomas Votruba
503a6059f8
Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
...
a8922f7431
skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7
Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
...
bb609b28e3
[Core] Always reset stopTraversal to false on next Rector visit (#4182 )
2023-06-11 14:17:34 +00:00
Tomas Votruba
8135dd31be
Updated Rector to commit 27ac0efdca63485c6e0ee27086cda9bc7b2e6c17
...
27ac0efdca
Remove parent node lookup (#4138 )
2023-06-09 16:23:18 +00:00
Tomas Votruba
fc7326e2ba
Updated Rector to commit e5e33ebc3be86879d802690ee851bcc923a5e5f6
...
e5e33ebc3b
Use class reflection do work with enum suffix (#4134 )
2023-06-09 15:36:48 +00:00
Tomas Votruba
f82e30a026
Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
...
ae874efa14
Remove SourceLocatorProviderInterface as unused (#4126 )
2023-06-08 22:00:17 +00:00
Tomas Votruba
9e103260ec
Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
...
2f3e9be0ae
[DX] Test BetterNodeFinder with Laravel container (#4106 )
2023-06-08 14:23:03 +00:00
Tomas Votruba
b02fdd55d1
Updated Rector to commit 8cc8c7cb2686340878b6a0b82f782cf86b7a3d3f
...
8cc8c7cb26
Fix StaticCallOnNonStaticToInstanceCallRector to skip parent's parent's method calls. (#4098 )
2023-06-07 13:21:23 +00:00
Tomas Votruba
bc7911e5d1
Updated Rector to commit a61fbf265d2995453ad8d9f12b6bb00ff1937162
...
a61fbf265d
Remove removeNode() from couple rules (#4083 )
2023-06-05 13:42:47 +00:00
Tomas Votruba
917ce32d7a
Updated Rector to commit ddcc807ffcdf24c49889125682d1bcb223387d09
...
ddcc807ffc
Make use of REMOVE_NODE return constant in refator() method (#4075 )
2023-06-05 09:32:57 +00:00
Tomas Votruba
1f621e91a4
Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
...
88eed987cc
Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049 )
2023-06-02 12:32:12 +00:00
Tomas Votruba
9a2931cbe4
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-06-01 08:56:46 +00:00
Tomas Votruba
7587e17e7b
Updated Rector to commit d8e8a34a606b1e0b0a1a674a4e008822bbedf624
...
d8e8a34a60
Refactor PARENT_NODE away from EregToPregMatchRector (#3973 )
2023-05-26 13:00:21 +00:00
Tomas Votruba
5a424135e9
Updated Rector to commit a8fdf00925e9b46f3372da01d90d52780d1e802a
...
a8fdf00925
[PHP 7.0] Add IfIssetToCoalescingRector (#3878 )
2023-05-17 09:47:50 +00:00
Tomas Votruba
56836f25e8
Updated Rector to commit d42fd12f4ad38f29f8e7f3fd19d9bb740f0f9356
...
d42fd12f4a
Improve IfToSpaceshipRector (#3871 )
2023-05-16 13:09:11 +00:00
Tomas Votruba
3847b0c3b5
Updated Rector to commit d2ae72e1fe616bb5c2d98c497a59991cfb5cca55
...
d2ae72e1fe
Remove NEXT_NODE from IfToSpaceshipRector (#3860 )
2023-05-16 12:50:39 +00:00
Tomas Votruba
da149bb5b0
Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
...
645071a650
Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822 )
2023-05-13 17:20:02 +00:00
Tomas Votruba
e947b0aeed
Updated Rector to commit 218d1dd561c49e3afbbaa60fa85b6fd327e62dac
...
218d1dd561
Update docs (#3798 )
2023-05-11 13:07:24 +00:00
Tomas Votruba
8afa5f961e
Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
...
074b1781b3
Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793 )
2023-05-11 07:56:32 +00:00
Tomas Votruba
34a9ea6ade
Updated Rector to commit c63dd46e8d8881b576cee60ef09d68f52789a5ee
...
c63dd46e8d
Drop AttributeKey::SCOPE in Rector-classes (#3790 )
2023-05-10 18:50:31 +00:00
Tomas Votruba
91de512bfa
Updated Rector to commit 3f0753eca0da687f51d0c4ad1c09e689bd813e43
...
3f0753eca0
[Php70] Skip curly named variable on ThisCallOnStaticMethodToStaticCallRector (#3779 )
2023-05-09 07:47:22 +00:00
Tomas Votruba
8af1a1213f
Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
...
1e052f5883
[cleanup] Make use of getArgs(), remove ignored from phpstan (#3771 )
2023-05-08 12:54:32 +00:00
Tomas Votruba
af500df8f4
Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
...
f6c4edcd0c
[CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767 )
2023-05-08 10:34:10 +00:00
Tomas Votruba
39697489d4
Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
...
5a32ed95b7
[cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770 )
2023-05-08 10:34:06 +00:00