Commit Graph

246 Commits

Author SHA1 Message Date
Tomas Votruba 08cec1591e Updated Rector to commit 4951accb91a39af88d3903930112f2752e497076
4951accb91 [Renaming] New Rule: RenameFunctionLikeParamWithinCallLikeArgRector (#5554)
2024-02-22 09:08:40 +00:00
Tomas Votruba ca876bf90c Updated Rector to commit 9193b276de2d9e51e063740a9fea61a559750f19
9193b276de Clean up concat empty string on regex constant usage (#5449)
2024-01-10 05:55:03 +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 65b387953a Updated Rector to commit 1a98723aebf1bdf9462b785d49f75d914b569779
1a98723aeb [Naming] Skip all kinds of generators (#5187)
2023-10-18 09:38:53 +00:00
Tomas Votruba d260adfd2b Updated Rector to commit 96fae07575c6c64ac7e2950388cbe07d18cbcfc5
96fae07575 Skip DateTime in ExpectedNameResolver (#5186)
2023-10-18 09:27:27 +00:00
Tomas Votruba 4c49964fc9 Updated Rector to commit 5c1fd4e0e38ad79fa64669ae8ba3ba6fb64cf051
5c1fd4e0e3 [Naming] Remove BreakingVariableRenameGuard::isUsedInIfAndOtherBranches() to remove previous by types (#4319)
2023-06-22 18:08:32 +00:00
Tomas Votruba 4d62037b71 Updated Rector to commit 0893df020e01529a72933efee0c085752e24c4d2
0893df020e Skip rewindable generator (#4282)
2023-06-19 11:00:56 +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 8b89240eee Updated Rector to commit ade49b3e9088c027b4a1a35d2e4228ae3375a00d
ade49b3e90 Various cleanups (#4125)
2023-06-08 21:35:09 +00:00
Tomas Votruba 6f986503de Updated Rector to commit 5b990ff50f851726e5d3a28590572c8e3f99bb04
5b990ff50f Bump symplify/phpstan-rules deps (#3894)
2023-05-19 13:30:27 +00:00
Tomas Votruba 4ba18f5a6a Updated Rector to commit 28712b9f9c756a69fec7ca52f53a5549a55a5113
28712b9f9c [Naming] Improve performance by using findFirst() for casted to (bool) on BreakingVariableRenameGuard (#3703)
2023-04-29 04:13:11 +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 727b9f46f0 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
bfa1891c50 [cleanup] Remove 73 unused public methods (#3245)
2022-12-23 17:10:25 +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 36d955f51d Updated Rector to commit cb7a84c8bb0343205b7c9ce5d6442187dd089b28
cb7a84c8bb [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
2022-08-23 16:16:02 +00:00
Tomas Votruba 8a0350a804 Updated Rector to commit 9cb0a5efb59c51c662a4b6eb56753b9cc2174e21
9cb0a5efb5 [PHPStan] Resolve duplicated regex value (#2690)
2022-07-20 05:00:44 +00:00
Tomas Votruba ead00ac355 Updated Rector to commit 84012e4ac915dd5d8e7527bffdec302d53dc222e
84012e4ac9 Static type improvements (#2662)
2022-07-15 08:14:37 +00:00
Tomas Votruba b6a8818d00 Updated Rector to commit cbbe410aff
cbbe410aff string prefixing is still needed
2022-06-07 09:46:15 +00:00
Tomas Votruba 9bb996bfce Updated Rector to commit a9779404d3
a9779404d3 try without prefixing string classes
2022-06-07 09:38:27 +00:00
Tomas Votruba bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba 7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba d58370849e Updated Rector to commit 76894e5c63
76894e5c63 [Naming] Add Closure and Function_ on RenameParamToMatchTypeRector (#2042)
2022-04-10 08:30:09 +00:00
Tomas Votruba 3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba c726969380 Updated Rector to commit fc10fce13d
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba 3d98187ea1 Updated Rector to commit 39a530c1f5
39a530c1f5 [DX] Add strict PHPStan rules - step #2 (#1330)
2021-11-28 17:01:20 +00:00
Tomas Votruba 0562d594e0 Updated Rector to commit f985e811be
f985e811be [DX] Add strict PHPStan rules - step #1 (#1324)
2021-11-28 16:42:02 +00:00
Tomas Votruba 40882e2c8b Updated Rector to commit a8a2577c40
a8a2577c40 [automated] Re-Generate Nodes/Rectors Documentation (#1325)
2021-11-28 00:36:13 +00:00
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 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 27f9fb751d Updated Rector to commit 9ba0f6305f
9ba0f6305f [DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1301)
2021-11-25 05:43:26 +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 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 cae65c2537 Updated Rector to commit 63ed131c3f
63ed131c3f [automated] Re-Generate Nodes/Rectors Documentation (#1284)
2021-11-21 00:34:01 +00:00
Tomas Votruba cd31960a43 Updated Rector to commit 60c06a7fbf
60c06a7fbf fix downgrade
2021-11-20 10:43:40 +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 5e0eef55a5 Updated Rector to commit c6473c6a0b
c6473c6a0b [Php81] Fix NewInInitializerRector code sample (#1264)
2021-11-18 07:58:51 +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
Tomas Votruba 01b8ec09d1 Updated Rector to commit 50096d7955
50096d7955 [Renaming] Handle var static docblock in union on RenameClassRector (#1248)
2021-11-16 11:06:23 +00:00
Tomas Votruba d8ebd1efd5 Updated Rector to commit 5154b53518
5154b53518 [TypeDeclaration] Avoid error Rector\Core\Rector\AbstractRector::isObjectType() must implement interface PhpParser\Node, null given on AddParamTypeDeclarationRector (#1239)
2021-11-15 01:54:27 +00:00
Tomas Votruba a16c61358a Updated Rector to commit 9c52c95848
9c52c95848 [automated] Re-Generate Nodes/Rectors Documentation (#1228)
2021-11-14 00:36:15 +00:00
Tomas Votruba 750add220d Updated Rector to commit 305c524662
305c524662 [TypeDeclaration] Improve typed property (#1221)
2021-11-13 00:51:27 +00:00
Tomas Votruba 3a883b2fc9 Updated Rector to commit af81708d80
af81708d80 [TypeDeclaration] Skip conditional Throw_ on ReturnNeverTypeRector (#1217)
2021-11-12 09:48:23 +00:00
Tomas Votruba 9131fc62e0 Updated Rector to commit 2ed0430f4e
2ed0430f4e [NodeTypeResolver] Avoid error Uncaught TypeError: PHPStan\Type\Constant\ConstantIntegerType::__construct(): Argument #1 () must be of type int, string given (#1210)
2021-11-11 00:28:34 +00:00