346 Commits

Author SHA1 Message Date
Tomas Votruba
66435a54fc Updated Rector to commit 05bb5c63842477c0109b26a9ce382d5a34234ccd
05bb5c6384 [Php70] Revert array dim fetch handling on WrapVariableVariableNameInCurlyBracesRector (#6536)
2024-12-08 05:29:55 +00:00
Tomas Votruba
4434633b3a Updated Rector to commit 3a10b135cd7e74fdfb2de25708c8482f5beff31c
3a10b135cd [Php70] Use more precise variable name check on WrapVariableVariableNameInCurlyBracesRector (#6534)
2024-12-08 03:15:03 +00:00
Tomas Votruba
d0c3bb9110 Updated Rector to commit 70605936b150b2b589ef4fb3c1275667ff690b26
70605936b1 [Php70] Handle ArrayDimFetch on WrapVariableVariableNameInCurlyBracesRector (#6533)
2024-12-08 03:09:14 +00:00
Tomas Votruba
c56fdd2b7f Updated Rector to commit 1b68ff48b80d81bd4295ef304196fd97d74e0032
1b68ff48b8 [automated] Apply Coding Standard (#6524)
2024-12-01 00:43:07 +00:00
Tomas Votruba
897110e2bf Updated Rector to commit 101bdbfa9bd837daa593ad06f2eee44d259cbcca
101bdbfa9b [Php70] Do not replace if method call if method exists in current class on call same method with parent on Php4ConstructorRector (#6520)
2024-11-28 10:19:50 +00:00
Tomas Votruba
c4a5338933 Updated Rector to commit 0635cd9d519b9f8464e59e968bdfdcfde9b656bb
0635cd9d51 [Php70] Handle parent method call on Php4ConstructorRector (#6519)
2024-11-28 01:43:11 +00:00
Tomas Votruba
c75740ab0c Updated Rector to commit ba57166d9eb828d5c0d62a591b46b774242961e9
ba57166d9e cs
2024-11-20 19:59:31 +00:00
Tomas Votruba
9a4a5b2bc5 Updated Rector to commit eb5df4dde7515bbc497af6da84d5f9dbf96399d8
eb5df4dde7 Use vendor-patches main branch (#6453)
2024-11-20 15:58:53 +00:00
Tomas Votruba
8353c66b11 Updated Rector to commit c2053c75d6c55d2ca64f2003915aa8953c376f98
c2053c75d6 [deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector (#6425)
2024-11-12 22:22:48 +00:00
Tomas Votruba
7f755fff28 Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-11-03 23:41:59 +00:00
Tomas Votruba
a5a5200e52 Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42
54a6620698 [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339)
2024-10-01 05:27:50 +00:00
Tomas Votruba
71850def81 Updated Rector to commit 4eacb1ccc94f378eec0f3a08dbd8c90935d8d248
4eacb1ccc9 [automated] Re-Generate preload.php (#6268)
2024-09-01 00:37:22 +00:00
Tomas Votruba
082c3ba4ca Updated Rector to commit c3f5cbca9f9c79f66f2a35accdd480875e62cf20
c3f5cbca9f [Php70] Fix with \r\n on EregToPregMatchRector (#6246)
2024-08-21 07:42:47 +00:00
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
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
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
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
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
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
80654c23af Updated Rector to commit 8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361
8ae33c5f7c [Php70] Remove appendArgs() usage on CallUserMethodRector (#4731)
2023-08-09 12:42:27 +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
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
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
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
Tomas Votruba
a93a36635a Updated Rector to commit fb89e317c52fb8a16e2db18edb80172adb17014e
fb89e317c5 [TypeDeclaration] Add WhileNullableToInstanceofRector (#3680)
2023-04-24 11:18:26 +00:00
Tomas Votruba
f5640c1359 Updated Rector to commit 5e5681d9edbb438b5782b45fde6e88650aa3843f
5e5681d9ed [NodeRemover] Use return null after ->removeNode() (#3558)
2023-04-03 17:20:08 +00:00