Commit Graph

660 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 7141ae6e56 Updated Rector to commit 8281a06bc8432d9d7f8e20842e3961df99a277bc
8281a06bc8 [PHP 7.2] Add error suppres support to each() rule (#5844)
2024-04-24 08:56:31 +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 28f5dbde13 Updated Rector to commit c14f8d45175bd4c10fef503e350d677c4a73ce29
c14f8d4517 [Php72][TypeDeclaration] Rollback tweak infinite loop handling on DeclareStrictTypesRector (#5700)
2024-03-08 06:34:02 +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 c49de5a16c Updated Rector to commit 5e7ecb623ad7fe78a660fe3d2275166492ebdb40
5e7ecb623a [stabilize] Remove child classes from MixedTypeRector as not reliable (#5537)
2024-01-31 22:01: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 9e3e9b62ed Updated Rector to commit 9e39db80cf2a763ae6006b3747feb69d82ade52d
9e39db80cf [DeadCode] Skip has parent class with __call() magic method on RemoveParentCallWithoutParentRector (#5336)
2023-12-07 04:38:08 +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 39ef72a680 Updated Rector to commit b5f7a09fde1d6f9a22a877499c878bcdb553854b
b5f7a09fde  [Php81] Skip increment/decrement on ReadOnlyPropertyRector (#5267)
2023-11-21 00:08:52 +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 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 beb21d1b36 Updated Rector to commit 3c1035bb6d6b578c4b26f1b1735895ffafcc814b
3c1035bb6d [DX] Remove DependencyClassMethodDecorator as not used anymore due to paralel nature (#5094)
2023-09-30 19:57:09 +00:00
Tomas Votruba e6e6042119 Updated Rector to commit 10eb09f02d825d01caf92e2c45c73dddf6aa3430
10eb09f02d [cleanup] Remove deprecated NonPhpRectorInterface, PseudoNamespaceToNamespaceRector and mysql to mysqli sets (#4927)
2023-09-06 16:03:21 +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 73a1ef4a72 Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
d8d31debc5 [Performance] Use more performance spl_object_id() (#4876)
2023-08-28 17:41:52 +00:00
Tomas Votruba ad2ad2a097 Updated Rector to commit 77258018af10a7c23477831e0eab49dd7c0b2bfe
77258018af Trigger Rectify (#4701)
2023-08-07 11:02:42 +00:00
Tomas Votruba 9fac241be1 Updated Rector to commit e9a97469558e5e154a185bae388f214e1f0d5c56
e9a9746955 [PhpParser] Remove #[Required] on ClassLikeAstResolver (#4688)
2023-08-07 03:26:51 +00:00
Tomas Votruba 0a93085a9e Updated Rector to commit ae896432a906ca02a97c326295a29ced3c689998
ae896432a9 Move ArrayManipulator to rector-symfony, where only used (#4656)
2023-08-05 12:14:07 +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 3598a7608a Updated Rector to commit 8c623868b748427ce186a1b3b892a7bca9860483
8c623868b7 [automated] Apply Coding Standard (#4621)
2023-07-30 00:32:15 +00:00
Tomas Votruba 4082c75546 Updated Rector to commit db03c60a5725e8f82d6b800c4745bc259ee470ac
db03c60a57 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector on non __construct method (#4614)
2023-07-27 09:43:37 +00:00
Tomas Votruba 56035a3c99 Updated Rector to commit a04101c5089e5043b7962316e3a1bb0802e453fc
a04101c508  [Php81] Skip re-assign with AssignOp on ReadOnlyPropertyRector  (#4600)
2023-07-25 10:07:19 +00:00
Tomas Votruba f083e0de01 Updated Rector to commit 031f2de2b8043a972f1a19f07f06ad2fc9793df3
031f2de2b8 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector (#4593)
2023-07-25 04:02:12 +00:00
Tomas Votruba f7109e0cbd Updated Rector to commit 490bd72c85d61feaf426d51d61bf9d04d40a418e
490bd72c85 [Performance][NodeManipulator] Avoid loop on search first variable named on next sliced next stmts on StmtsManipulator (#4537)
2023-07-19 10:36:07 +00:00
Tomas Votruba fb5e28c38b Updated Rector to commit db16e33a9a72d6c75600187d9f7851060d9a88fe
db16e33a9a [EarlyReturn] Remove ReturnBinaryAndToEarlyReturnRector as creates code hard to read and flips condition (#4478)
2023-07-11 15:52:31 +00:00
Tomas Votruba 2e39614116 Updated Rector to commit 26a368c89ba8297d33600aa5a1c954d2a1b5d274
26a368c89b Fix ReturnBinaryOrToEarlyReturnRector mixing up returned nodes of array, hook into StmtsAwareInterface instead to keep next Rector rules updated (#4476)
2023-07-11 15:35:53 +00:00
Tomas Votruba 001414980a Updated Rector to commit 14089145f699c64437b484209998963d3c75b0a1
14089145f6 [Rector] Skip used after TryCatch on RemoveUnusedVariableInCatchRector (#4459)
2023-07-09 13:58:38 +00:00
Tomas Votruba d53aabefd9 Updated Rector to commit 1d0feb251132d3b766945bc80d8f914c5279277f
1d0feb2511 [DX] Lower readonly PropertyManipulator complexity (#4429)
2023-07-06 21:07:00 +00:00
Tomas Votruba b083f2427f Updated Rector to commit 6e90cc741ca2e6d94fe485fd01c085a7641d5d93
6e90cc741c [ReadWrite] Remove parent attribute usage on ReadWritePropertyAnalyzer (#4398)
2023-07-01 15:51:11 +00:00
Tomas Votruba 6aada686fa Updated Rector to commit 5944b6d6a998a6ee854b699f5a8541bdc8a17818
5944b6d6a9 [NodeManipulator] Reduce parent check on PropertyManipulator (#4397)
2023-07-01 14:21:21 +00:00
Tomas Votruba 4ac2f7ee3a Updated Rector to commit 51cc0678a8da0b27b7dcc33706fc32d192e565ca
51cc0678a8 [NodeManipulator] Remove parent attribute usage on AssignManipulator (#4394)
2023-07-01 13:10:36 +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 cf15a1a741 Updated Rector to commit 543bb5f96f379891f0dc785a4d413e6c891c3be9
543bb5f96f [NodeManipulator] Reduce parent attribute check on PropertyManipulator (#4377)
2023-06-29 16:46:49 +00:00
Tomas Votruba 95bf4b7111 Updated Rector to commit dfe3e6c75a43b4f9a08862bae3e90fd233270728
dfe3e6c75a [NodeManipulator] Reduce parent attribute on AssignManipulator (#4288)
2023-06-19 16:30:01 +00:00
Tomas Votruba ad1bdeeb0f Updated Rector to commit 18436f1f44262a6dcc0dcb6d5bb88eb439a53045
18436f1f44 [NodeManipulator] Remove parent lookup on PropertyManipulator (#4274)
2023-06-18 10:49:07 +00:00
Tomas Votruba ed58f0fcb1 Updated Rector to commit 3806bb8f05a822d081a69f735745ae2f14caf657
3806bb8f05 [NodeManipulator] Reduce parent lookup on PropertyManipulator under Unset_ (#4273)
2023-06-18 09:44:52 +00:00
Tomas Votruba a0d8cc6508 Updated Rector to commit 8550c092de01d1167d95922a77490c282f3154d5
8550c092de [Ast] Use ClassLikeAstResolver directly when possible (#4262)
2023-06-17 19:37:05 +00:00
Tomas Votruba 156239b392 Updated Rector to commit c8dd89078c004b3f215684b5dc424eed91a01683
c8dd89078c [NodeManipulator] Clean up pull ClassReflection on ClassConstManipulator as already defined (#4237)
2023-06-16 04:41:15 +00:00
Tomas Votruba 84c71be628 Updated Rector to commit d50b87a09c87754d98ad8d2eecdb7862df876510
d50b87a09c [NodeManipulator] Remove parent lookup on ClassConstManipulator (#4236)
2023-06-16 04:24:30 +00:00
Tomas Votruba ff28aaca4c Updated Rector to commit 21f8014b30f4a4230f787ca1698a2c53d6d5f18a
21f8014b30 [DI] Autowire annotation to attribute mapper via tags (#4190)
2023-06-12 10:45:32 +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 ca8754469c Updated Rector to commit 424b874e8cbfde95c46e1bba12ffe6931c375197
424b874e8c [NodeManipulator] Remove parent lookup on ClassMethodPropertyFetchManipulator (#4170)
2023-06-11 05:54:40 +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 189167959e Updated Rector to commit 701278e9882f33c2977753be99b08dd7aaf93997
701278e988 Remove node removing services, cleanup (#4093)
2023-06-06 12:07:27 +00:00
Tomas Votruba 687f5efeef Updated Rector to commit d9cf3d4b9f427691349d4c1fbe2160241c1585b8
d9cf3d4b9f Remove removeNode() from RemoveUnusedPrivatePropertyRector (#4092)
2023-06-06 11:55:37 +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