Commit Graph

4086 Commits

Author SHA1 Message Date
Tomas Votruba 54b25e4291 Updated Rector to commit 2dccbb6b176a836e174babbaf6611a0d4730c55c
2dccbb6b17 Remove removeNode() from RemoveDeadReturnRector, merge RemoveLastReturnRector to RemoveDeadReturnRector (#4085)
2023-06-05 14:01:36 +00:00
Tomas Votruba fc28a000c6 Updated Rector to commit cdc9e6b6d8ce2446e8860016997ad37e8d3b7d44
cdc9e6b6d8 Remove ArrayKeysAndInArrayToArrayKeyExistsRector as narrow, does not check variable usage and might be on purpose (#4084)
2023-06-05 13:46:42 +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 1078587eae Updated Rector to commit 1fa8672242253aae77cd888400c5125d2e1fa9f5
1fa8672242 Remove removeNode() from RemoveDoubleAssignRector (#4082)
2023-06-05 10:21:40 +00:00
Tomas Votruba b6790aec99 Updated Rector to commit 391ea60a5123a06f4081fa3ff84c9d9fbf31dc1b
391ea60a51 Remove removeNode() from RemoveTraitUseRector (#4081)
2023-06-05 10:14:56 +00:00
Tomas Votruba 899f790edb Updated Rector to commit b743de6b8194322cd59eb8967b10d4b9ffb3fa1c
b743de6b81 Remove removeNode() in various rules (#4080)
2023-06-05 10:07:36 +00:00
Tomas Votruba 191b6c06a0 Updated Rector to commit efc3cf31ae7a14367f7d2f5b73838f5ebeebb064
efc3cf31ae [Core] Apply CreatedByRuleDecorator on is_int() on AbstractRector (#4077)
2023-06-05 10:03:19 +00:00
Tomas Votruba 0072d380e2 Updated Rector to commit 70085f47f7aef41fad22f3628a2c6a9822b6d9f4
70085f47f7 [FileProcessor] Show warning on has InlineHTML node if file has changed on PhpFileProcessor (#4079)
2023-06-05 09:59:52 +00:00
Tomas Votruba b6483cd8b4 Updated Rector to commit dab448289eef1d79fe75e61f8fda1da1b7f9eaab
dab448289e [NodeTypeResolver] Handle crash after next exit() on no namespaced code after removal next attribute (#4074)
2023-06-05 09:55:14 +00:00
Tomas Votruba 5697e833d8 Updated Rector to commit 8e80c7a5489a096b707281aded4ff4976bbb10b1
8e80c7a548 Remove removeNode() from RemovePhpVersionIdCheckRector (#4078)
2023-06-05 09:54:03 +00:00
Tomas Votruba 0a26126b5a Updated Rector to commit b60faa4203092b57ea4d1d2f977b46334adc2e51
b60faa4203 Remove TargetRemoveClassMethodRector, as IDE specific (#4076)
2023-06-05 09:37:45 +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 ee021e37ea Updated Rector to commit 21d43cfb3d62563f3f73424d2bdf36136056617d
21d43cfb3d Add REMOVE_NODE support to refactor() direct call (#4073)
2023-06-05 08:01:06 +00:00
Tomas Votruba c440a59574 Updated Rector to commit 063c488b9b6a4eefe4a65fb6236f0b00b0e14890
063c488b9b Remove removeNode() from RemoveEmptyMethodCallRector (#4071)
2023-06-04 22:44:01 +00:00
Tomas Votruba ad0058dd98 Updated Rector to commit 5f2ddbfd85c50c3baea67e02472640f50ba7b6a0
5f2ddbfd85 Remove removeNode() from RemoveDeadIfForeachForRector (#4072)
2023-06-04 22:38:07 +00:00
Tomas Votruba c832b39299 Updated Rector to commit 8f68eb4a72eafb3d942f86474b31eb7163ffb463
8f68eb4a72 [DependencyInjection] Remove deprecated constants support on ConfigureCallValuesCollector (#4070)
2023-06-04 21:51:05 +00:00
Tomas Votruba 5edc8437c3 Updated Rector to commit 0e9192f70cc10e4684adec85a0ab5f67c6afcad3
0e9192f70c Remove deprecated UnionTypesRector and NarrowUnionTypeDocRector, use strict-based rules from TypeDeclaration set instead (#4069)
2023-06-04 21:38:22 +00:00
Tomas Votruba 2813830091 Updated Rector to commit d288f4c41dbcd2a095a1cf11b3b4d6e989973394
d288f4c41d Remove removeNode() from RemoveUnusedPrivateMethodRector (#4067)
2023-06-04 18:10:51 +00:00
Tomas Votruba bd7d3c46f2 Updated Rector to commit cd776a822655f90311b0e1e925df138d24f147a1
cd776a8226 Remove removeNode() from RemoveDelegatingParentCallRector (#4066)
2023-06-04 18:09:35 +00:00
Tomas Votruba 18f8207b59 Updated Rector to commit 861022a70bd9f9c8b91f20c7dfacb0d297d33e9a
861022a70b Remove RemoveAlwaysTrueConditionSetInConstructor, as overly specific and not practical; better handle with PHPStan (#4065)
2023-06-04 17:57:18 +00:00
Tomas Votruba f0c9d40cc2 Updated Rector to commit 106bc8ed2efbf98e99c22d6098a78ec2d6588c58
106bc8ed2e Remove AttributeCompatibleAnnotationRector, as only for one-time migration of private project, not suitable for general use (#4064)
2023-06-04 17:52:08 +00:00
Tomas Votruba a21bcfc1f7 Updated Rector to commit 141923f2484a506bbd523021facb07d37575e62f
141923f248 Remove removeNode() from MultiExceptionCatchRector (#4063)
2023-06-04 17:44:36 +00:00
Tomas Votruba 335ab50008 Updated Rector to commit 2d99c8b3661934f33155ddb5d46e62c7ba14715a
2d99c8b366 Remove removeNode() from InlineConstructorDefaultToPropertyRector (#4062)
2023-06-04 17:26:50 +00:00
Tomas Votruba 0ab58ff847 Updated Rector to commit 165609bd78cf7dbb4889f4edd75cdb336c89c1aa
165609bd78 [FileProcessor] Add warning instead of skip InlineHTML on PhpFileProcessor (#4058)
2023-06-04 16:58:56 +00:00
Tomas Votruba 7b17dd2d5b Updated Rector to commit 02b93319906ffa9842cbab8f80d58d8b5576cf43
02b9331990 [Traverser] Add BreakingRemovalGuardNodeVisitor to reduce parent attribute usage on BreakingRemovalGuard (#3978)
2023-06-04 10:46:22 +00:00
Tomas Votruba cbde507496 Updated Rector to commit 919c052d712c4069a6b0c244744dfd124fb565eb
919c052d71 [Printer] Remove BetterStandarPrinter::cleanSurplusTag() and cleanEndWithPHPOpenTag() (#4061)
2023-06-04 09:14:48 +00:00
Tomas Votruba 9e58a778f4 Updated Rector to commit 02b93319906ffa9842cbab8f80d58d8b5576cf43
02b9331990 [Traverser] Add BreakingRemovalGuardNodeVisitor to reduce parent attribute usage on BreakingRemovalGuard (#3978)
2023-06-04 09:14:10 +00:00
Tomas Votruba a3dea02fcb Updated Rector to commit 7030f1fb0e98329b48fc436189acd4509393b6e5
7030f1fb0e [automated] Re-Generate preload.php (#4060)
2023-06-04 00:35:29 +00:00
Tomas Votruba 4371c2a6d0 Updated Rector to commit c5b17183be766c3abf9535f602c27d8f43a3e151
c5b17183be [e2e] Add back e2e/timeout with slimmer file to test (#4059)
2023-06-04 00:12:14 +00:00
Tomas Votruba 936365906d Updated Rector to commit 1d8b12dc022dc4ff9c9c26a2fc1ea409027d271b
1d8b12dc02 Remove NormalizeNamespaceByPSR4ComposerAutoloadRector as only moves files to namespaces, does not update any class referenes; better use IDE here (#4057)
2023-06-03 16:37:32 +00:00
Tomas Votruba 12850de413 Updated Rector to commit 203be2b3076a4e7f2f80cee721aa20186868a604
203be2b307 skip tracy from downgrade one
2023-06-03 16:26:26 +00:00
Tomas Votruba 062552321e Updated Rector to commit 4635c3936d920f9350e985772156a51b40604c9c
4635c3936d [PHP+HTML cleanup] Remove MixPhpHtmlDecorator (#4054)
2023-06-03 13:48:48 +00:00
Tomas Votruba a82d8260db Updated Rector to commit c9fc74baf53ce9104403c492fcd13dec435dad9c
c9fc74baf5 [CodeQuality] Skip deep append in if foreach before on ForeachItemsAssignToEmptyArrayToAssignRector (#4053)
2023-06-03 00:54:04 +00:00
Tomas Votruba 7823920f86 Updated Rector to commit 069e53a00efd322e8ab32b91938df894690b475c
069e53a00e [CodeQuality] Skip multiple assigns append before foreach on ForeachItemsAssignToEmptyArrayToAssignRector (#4052)
2023-06-02 22:04:35 +00:00
Tomas Votruba 26ee850893 Updated Rector to commit 6dd57a913efe6fd5eb03542300b93cb1c22fc4dc
6dd57a913e Merge autoImport() tests (#4050)
2023-06-02 13:09:14 +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 b0cbcaf37b Updated Rector to commit 5d6cff121b884ce17d6cf117e60b74dd67af75f2
5d6cff121b Move test to rector-doctrine (#4048)
2023-06-02 10:21:56 +00:00
Tomas Votruba 58a4ff85e7 Updated Rector to commit b8a0e84efade3cf6164e6d239bf91aefc4678ae5
b8a0e84efa Skip StrvalToType for strval first class callable syntax (#4046)
2023-06-02 10:12:23 +00:00
Tomas Votruba 9eed15ece9 Updated Rector to commit 897cdda68d73ed5fcc1c768219207ff54c8459cb
897cdda68d Apply coding standard (#4047)
2023-06-02 10:03:55 +00:00
Tomas Votruba 3dc5be2274 Updated Rector to commit 92ff716761e19c7f30bd68065af7eeefac0480de
92ff716761 Improve string support in Doctrine Annotations (#3645)
2023-06-02 09:42:16 +00:00
Tomas Votruba 94475b36c9 Updated Rector to commit 7cde4132f7705a0f941867d66c909abd114e758d
7cde4132f7 Revert [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043) (#4044)
2023-06-02 08:59:08 +00:00
Tomas Votruba 26d8422934 Updated Rector to commit 7cde4132f7705a0f941867d66c909abd114e758d
7cde4132f7 Revert [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043) (#4044)
2023-06-02 07:37:33 +00:00
Tomas Votruba 633f196150 Updated Rector to commit 7cde4132f7705a0f941867d66c909abd114e758d
7cde4132f7 Revert [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043) (#4044)
2023-06-02 05:54:26 +00:00
Tomas Votruba 4798412baf Updated Rector to commit 90b1f9fdd37038b82df9c1b14fd2114b3075468c
90b1f9fdd3 [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043)
2023-06-02 03:58:22 +00:00
Tomas Votruba cbde46307b Updated Rector to commit 90b1f9fdd37038b82df9c1b14fd2114b3075468c
90b1f9fdd3 [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043)
2023-06-02 03:13:17 +00:00
Tomas Votruba 0ae1a69dc8 Updated Rector to commit 495900a6405595d61947b4c564024d902354ef04
495900a640 [DeadCode] Skip used on Closure use next stmt on RemoveUnusedVariableAssignRector (#4042)
2023-06-02 01:02:01 +00:00
Tomas Votruba 2e072dd15a Updated Rector to commit cfccdd090b640d7b63592eca1744e0582db19830
cfccdd090b [CodingStyle] Skip first class callable on UnSpreadOperatorRector (#4041)
2023-06-01 23:56:12 +00:00
Tomas Votruba 8f92523b3a Updated Rector to commit 965b5f72045e3a94adf1eab83accafb52bfbe92a
965b5f7204 [CodeQuality] Exclude first class callable from IntvalToTypeCastRector (#7962) (#4040)
2023-06-01 22:33:20 +00:00
Tomas Votruba ed61663929 Updated Rector to commit 1e4568bdae763335c904ecd3d03a79f1ac129d0f
1e4568bdae Avoid removing use with removeNode() in ClassRenamer (#4039)
2023-06-01 16:05:57 +00:00
Tomas Votruba 6bffa5fbeb Updated Rector to commit 1e4568bdae763335c904ecd3d03a79f1ac129d0f
1e4568bdae Avoid removing use with removeNode() in ClassRenamer (#4039)
2023-06-01 15:56:03 +00:00