Commit Graph

94 Commits

Author SHA1 Message Date
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 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 c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +00:00
Tomas Votruba 4f6134d1be Updated Rector to commit 5647e1b818482552a447d7f79392c7e2f0dce86e
5647e1b818 [Naming] Fix dotted name on generics bug in RenameVariableToMatchMethodCallReturnTypeRector (#5250)
2023-11-15 07:40:24 +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 af933fd21f Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
4795d00361 [Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188)
2023-10-18 09:58:42 +00:00
Tomas Votruba 7949049389 Updated Rector to commit c9b0c27fa1df366ccf2213888d4351311bf82966
c9b0c27fa1 Skip new self in RenameVariableToMatchNewTypeRector (#5185)
2023-10-18 08:25:46 +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 4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +00:00
Tomas Votruba b2b3a0f5cc Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
33fa626297 [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
2023-09-20 12:41:26 +00:00
Tomas Votruba 3c6c1c03f8 Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
a2f70054a7 [DocBlock] Update docblock contents right in the rule (#4999)
2023-09-11 21:30:42 +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 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 474e8a76ec Updated Rector to commit 28412a49f7bd52094196e659ec0c68f9642c08b1
28412a49f7 [Naming] Skip used on next foreach on RenameForeachValueVariableToMatchExprVariableRector (#4469)
2023-07-10 10:56:25 +00:00
Tomas Votruba 994045415a Updated Rector to commit ad7d9b12ea0fa8bba78be8d0348daa6ecffe3abe
ad7d9b12ea [DX] Always init $this->hasChanged on Rector rule to ensure the flag is reset on same call on different file (#4454)
2023-07-09 11:49:50 +00:00
Tomas Votruba 50857a197a Updated Rector to commit 5ed67fb6cfd7bdb79ac993797123f25e78d61d11
5ed67fb6cf Cleanup RenameForeachValueVariableToMatchExprVariableRector (#4453)
2023-07-09 11:25:27 +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 81bbd7dc72 Updated Rector to commit 9e3849f2260a0072f9427cd314db2c276c461ce2
9e3849f226 [Naming] Remove parent lookup on VariableAndCallAssignMatcher (#4294)
2023-06-19 19:54:45 +00:00
Tomas Votruba 296985db95 Updated Rector to commit 70287f1c96f3814ceb544491d03baae3c03f8d65
70287f1c96 [Naming] Remove parent lookup on ForeachMatcher (#4293)
2023-06-19 19:32:10 +00:00
Tomas Votruba 12ed8d9e0a Updated Rector to commit 7753562da21cfa9e31560aedfd94f108fdbae673
7753562da2 [Naming] Remove parent lookup on PropertyRenameFactory (#4232)
2023-06-14 15:26:13 +00:00
Tomas Votruba 914f995971 Updated Rector to commit fd3c90cb6434670821709fb556f42d55247c3024
fd3c90cb64 [Naming] Remove parent lookup on ParamRenameFactory (#4212)
2023-06-13 13:52:47 +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 8ea0fec420 Updated Rector to commit 405d9f8f9ccee80ee0d2d9c0704ef028238b38cd
405d9f8f9c [Naming] Remove parent attribute usage on ExpectedNameResolver (#4180)
2023-06-11 10:16:46 +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 9a2931cbe4 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-06-01 08:56:46 +00:00
Tomas Votruba d8c877db45 Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
33d05d3b9e Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977)
2023-05-26 14:00:49 +00:00
Tomas Votruba 65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba 8f2079c8ca Updated Rector to commit 10c36b08fa0c980bd31b3059cafa12610852ebdd
10c36b08fa [Test] Rename fixture and refactor to solve random error (#3677)
2023-04-24 03:09:16 +00:00
Tomas Votruba 9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba 7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba 66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba 764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba 26753f8f8b Updated Rector to commit 96c457badfd0c198a57a758c552ec82aee0049de
96c457badf Fix RenamePropertyToMatchTypeRector for non-docblocks properties (#3189)
2022-12-11 17:49:34 +00:00
Tomas Votruba 6cbbfd0d97 Updated Rector to commit 2848e0d0cc5b819ba90fb1393ee2607b9eac555d
2848e0d0cc [Core] Use FullyQualifiedObjectType and ThisType detection for local property fetch on PropertyFetchAnalyzer (#3172)
2022-12-08 10:12:10 +00:00
Tomas Votruba ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba 067bd1245f Updated Rector to commit 1f8c88a5f1966ba9f3ec740f8c9bebc13f6d46f4
1f8c88a5f1 fix reporting on renamed proeprty match type (#3098)
2022-11-26 13:09:30 +00:00
Tomas Votruba ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba 6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba 36d955f51d Updated Rector to commit cb7a84c8bb0343205b7c9ce5d6442187dd089b28
cb7a84c8bb [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
2022-08-23 16:16:02 +00:00
Tomas Votruba 1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba 9b6234b1bc Updated Rector to commit b492d2077dfb0ee9c08664747c0c3e8ed73dbc97
b492d2077d [DX] Cleanup, Remove RepeatedLiteralToClassConstantRector, as very narrow use case; use rather phpstan + Remove ChangeLocalPropertyToVariableRector, as buggy and unreliable; better use PHPStan (#2686)
2022-07-19 21:15:00 +00:00
Tomas Votruba c855f5df1c Updated Rector to commit 6d7404c65000caede512a5bc5a993f472e11cd0d
6d7404c650 Home cleaning with Exacat 😎 (#2676)
2022-07-18 15:25:27 +00:00
Tomas Votruba 138ae66a5b Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00