Commit Graph

482 Commits

Author SHA1 Message Date
Tomas Votruba fce5bf1293 Updated Rector to commit 0e5343cb24ce394701c5321eb5976573dd8c0afe
0e5343cb24 Few PHPStan fixes (#5900)
2024-05-19 17:46:36 +00:00
Tomas Votruba b9839a24cb Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e
068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
2024-04-20 19:29:23 +00:00
Tomas Votruba 6db496ec6b Updated Rector to commit b81ef2f28aee9da0861eb67d90d134ec1c537786
b81ef2f28a [Renaming] Skip func call name on RenameClassRector (#5833)
2024-04-19 21:54:58 +00:00
Tomas Votruba 0fc99839e2 Updated Rector to commit a2ff229df99785b6b51721d929a750f51e72f57a
a2ff229df9 Fix phpstan (#5489)
2024-01-21 23:21:57 +00:00
Tomas Votruba b140c86242 Updated Rector to commit 46dd96122bdeb7b893f518bd131c69093b6da752
46dd96122b [Renaming] Remove rename class name (#5488)
2024-01-21 23:15:27 +00:00
Tomas Votruba f605aeb93f Updated Rector to commit 76714b95f240409a6fad92725ea19c870ed3ff14
76714b95f2 [Printer] Remove unnecessary BetterStandardPrinter::pStmt_Use() (#5478)
2024-01-18 20:41:36 +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 622a13c7e5 Updated Rector to commit fcd1b1aa6bbf59aaebf119a122d4f7aa045e15f1
fcd1b1aa6b [Performance][Renaming] Use FullyQualified on RenameClassRector (#5272)
2023-11-22 17:40:48 +00:00
Tomas Votruba 6786dfbdb1 Updated Rector to commit cb1b0c7348d1e80806b2e600823dbfa38b9836c7
cb1b0c7348 [Renaming] Add RenamedNameCollector to ensure remove uses on auto import on ClassRenamingPostRector with verify there is Node name that renamed (#5232)
2023-11-07 21:52:18 +00:00
Tomas Votruba 810ae4c396 Updated Rector to commit f6063588c0107450e51333934308f71434722f68
f6063588c0 [DX] Lower current node dependency - pass it directly to doc node parsing (#5023)
2023-09-15 11:53:42 +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 d23a5ea440 Updated Rector to commit b23294698f066a48e35be76ba0f25616f48f375e
b23294698f [Renaming] Remove callables from class renames to avoid missed rename bugs, better handle with PHSPtan and custom rule (#4745)
2023-08-09 16:15:16 +00:00
Tomas Votruba 9126553304 Updated Rector to commit 8a000b797953910b2312c1ebacaf42db024bc1ef
8a000b7979 [Performance][Renaming] No need PhpDocInfo refactor on Name node on ClassRenamer (#4566)
2023-07-21 10:01:43 +00:00
Tomas Votruba b0309e26cf Updated Rector to commit 919f5d4ababb95e3cf9167926e81c65939d70bf3
919f5d4aba [Renaming] Remove parent attribute on ClassRenamer (#4446)
2023-07-09 02:51:17 +00:00
Tomas Votruba c7f7cb60df Updated Rector to commit c8da7a564d3d5719b475e93e8c7d30b5db73aa75
c8da7a564d [Renaming] Remove check exists in Use_ on ClassRenamer (#4445)
2023-07-09 02:09:11 +00:00
Tomas Votruba a3231bb81d Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
40a1f34b12 [Naming] Remove parent lookup on UseImportsResolver (#4367)
2023-06-27 17:32:34 +00:00
Tomas Votruba 9da21b49dc Updated Rector to commit 52a5b7d9482d52d1fa8b8cbe87bd43eaff68da30
52a5b7d948 [Renaming] Reduce parent check early on ClassRenamer (#4355)
2023-06-26 19:09:51 +00:00
Tomas Votruba 96b9046f78 Updated Rector to commit 8337f6fb509fffc41aaa5ab15a4e7c695a2883e1
8337f6fb50 [Renaming] Reduc parent attribute on ClassRenamer take 2 (#4341)
2023-06-25 10:07:16 +00:00
Tomas Votruba 03d30f2c86 Updated Rector to commit 0efdd58b4d0fcc06e66841c7b7235724e8d6bedf
0efdd58b4d  [Renaming] Reduce parent attribute on ClassRenamer take 1  (#4340)
2023-06-25 09:59:06 +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 f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +00:00
Tomas Votruba 075297ce56 Updated Rector to commit 0af705fb570340cb0e4fbc0b9e897b09bd172f5c
0af705fb57 debug
2023-06-06 16:41:24 +00:00
Tomas Votruba 81398086b3 Updated Rector to commit 1e4568bdae763335c904ecd3d03a79f1ac129d0f
1e4568bdae Avoid removing use with removeNode() in ClassRenamer (#4039)
2023-06-01 14:48:49 +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 9496663b9b Updated Rector to commit 7a32610a70a03adf6824fec5f055a63b6355f56b
7a32610a70 [Util] Introduce FileHasher (#3833)
2023-05-14 18:24:01 +00:00
Tomas Votruba c8378bb7c9 Updated Rector to commit ed494161ee091037ea7cb791e569abb1bf2ff990
ed494161ee Drop AttributeKey::SCOPE in ClassRenamer (#3806)
2023-05-13 13:41:02 +00:00
Tomas Votruba 69f023883a Updated Rector to commit c6cb214aa518e02f9cc0a13f1bae638de114189d
c6cb214aa5 Revert Performance: Early return in PhpDocNode refactoring for class renames (#3509) (#3744)
2023-05-06 16:56:43 +00:00
Tomas Votruba 511bba65db Updated Rector to commit 48e431b52386ed8a200bc5f6e697fcf6f3a2db8f
48e431b523 Performance: Early return in PhpDocNode refactoring for class renames (#3509)
2023-05-06 16:33:33 +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 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 de30caff39 Updated Rector to commit 0f0b936c98b56f89c3ddf262f757dfd2a68853cb
0f0b936c98 Performance: Use faster hashing algo for cache key generation (#3508)
2023-03-27 08:10:28 +00:00
Tomas Votruba 0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +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 90d627a739 Updated Rector to commit 75149b2fdba0ce29e899e6610db8a703f3d30090
75149b2fdb [Renaming] Skip rename as Namespace_ name on RenameClassRector (#3371)
2023-02-11 17:56:10 +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 a53b9ef444 Updated Rector to commit dfad0c3a53d7ee62aa0ea6e6feede26ada741c58
dfad0c3a53 RenameClassRector with callback support (#3023)
2022-12-17 14:41:49 +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 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 4e3847e1bc Updated Rector to commit 3c07468691132d0246e55627495a1e7d4cd76a8d
3c07468691 [DX] Localize few PackageBuilder classes (#2884)
2022-09-01 19:50:06 +00:00
Tomas Votruba 6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba 5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +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 fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +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 dd31e833a9 Updated Rector to commit ce1c29184d
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba b4891e547c Updated Rector to commit a5340c6f06
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00