Commit Graph

17243 Commits

Author SHA1 Message Date
Tomas Votruba
1d5d0dd30b Updated Rector to commit 1595e34d12d856eab8e2478de357f0b1dff3556f
1595e34d12 [CodingStyle] Refactor UseImportsAdder to return [FileWithoutNamespace] code on no namespaced code (#5254)
2023-11-16 14:51:30 +00:00
Tomas Votruba
b4cef81b9f Updated Rector to commit 60047ce7785545401ad870d483060ce640fa3369
60047ce778 [Php73] Handle crash on JsonThrowOnErrorRector + SensitiveConstantNameRector (#5253)
2023-11-16 05:36:22 +00:00
Tomas Votruba
0f9778fc13 Updated Rector to commit 52ef7b830be95c27141d893308d7fa27ff4a2290
52ef7b830b [Scoped] Remove unused vendor/symfony/service-contracts/Test on downgrade build (#5252)
2023-11-16 03:14: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
9aef117ab1 Updated Rector to commit 7ec1be6b828042b27e3f40ed41b3285a6fe78502
7ec1be6b82 [DeadCode]: Support functions in RemoveUnusedVariableAssignRector (#5249)
2023-11-14 21:18:19 +00:00
Tomas Votruba
374bab157a Rector 0.18.8 2023-11-14 15:30:19 +00:00
Tomas Votruba
83b81fcc4e Updated Rector to commit 889372f62a584ca43402eced083b99e2ffbe6784
889372f62a [AutoImport][Renaming] Handle same last name no namespace just renamed auto import (#5248)
2023-11-14 11:48:19 +00:00
Tomas Votruba
afe2dc7944 Updated Rector to commit f0b8af88eb08be29b5fbf18f0e26283600c2c7e6
f0b8af88eb [AutoImport] Skip auto import on no namespace used class on auto import enabled (#5247)
2023-11-14 05:17:31 +00:00
Tomas Votruba
340a1832bb Updated Rector to commit e72fb255dcafb1b7e0481b1359d948692e1ff3e2
e72fb255dc Bump to reactphp/event-loop ^1.5 (#5246)
2023-11-13 15:06:37 +00:00
Tomas Votruba
caba0e294a Rector 0.18.7 2023-11-13 10:11:05 +00:00
Tomas Votruba
88ba2c5647 Updated Rector to commit caba1a00f6c66fe383ed38624087f6dd527808c6
caba1a00f6 Completely remove __get() method on AbstractRector (#5245)
2023-11-12 11:46:07 +00:00
Tomas Votruba
55d6c6f50a Updated Rector to commit 61d68c89b434271c793fbbcc8e6252e9f3e0e7eb
61d68c89b4 Rename parameter variable to nextCase on RemoveDuplicatedCaseInSwitchRector (#5244)
2023-11-11 20:55:17 +00:00
Tomas Votruba
39dc6141e7 Updated Rector to commit 42b697f65f0c648cc45abcc5b9e32a16a7967caa
42b697f65f [deprecated] Remove deprecated properties from AbstractRector (#5243)
2023-11-11 17:10:37 +00:00
Tomas Votruba
753e83fb31 Updated Rector to commit 4ed71bc537b3b3bb80245efb7661941119ab077d
4ed71bc537 [Utils] Cleap up MissingInSetCommand skipped rules constant (#5242)
2023-11-11 09:57:02 +00:00
Tomas Votruba
e26480f1cb Updated Rector to commit 7e7304b93cd03fda558ac8ebfbc682ffa4938fe0
7e7304b93c [AutoImport] Handle DeclareStrictTypesRector on importNames() enabled on no namespace (#5241)
2023-11-10 21:55:35 +00:00
Tomas Votruba
e41e10db62 Updated Rector to commit 2f74b02ef6c754c68abcdd246837583967e24678
2f74b02ef6 [DeadCode] Handle repetitive jump equal case stmts on RemoveDuplicatedCaseInSwitchRector (#5239)
2023-11-10 19:13:04 +00:00
Tomas Votruba
382d51d15f Updated Rector to commit eac58be00246ea8c89548289f2cc742e8b1b6b1a
eac58be002 [DeadCode] Reduce loop on RemoveDuplicatedCaseInSwitchRector (#5238)
2023-11-10 12:36:56 +00:00
Tomas Votruba
17eadc7eb2 Updated Rector to commit b0d4b15c3fd96582c6e3ed4d21cf4d30eb8742ce
b0d4b15c3f [DeadCode] Ensure change hasChanged flag on RemoveDuplicatedCaseInSwitchRector (#5237)
2023-11-10 09:02:20 +00:00
Tomas Votruba
c51a745c50 Updated Rector to commit bee1dae395490dd91a86230e1886b514288dfa62
bee1dae395 [DeadCode] Handle different indirect duplicated on RemoveDuplicatedCaseInSwitchRector (#5236)
2023-11-10 06:59:59 +00:00
Tomas Votruba
373eece1e0 Updated Rector to commit c61d8ea90edb04550b6a43f40bd6c6105a997189
c61d8ea90e [DeadCode] Reduce double loop on RemoveDuplicatedCaseInSwitchRector (#5235)
2023-11-09 22:56:12 +00:00
Tomas Votruba
e51766f9ec Updated Rector to commit 3f2fb29fe87904d779fb2f8d3e59492aaa9249f4
3f2fb29fe8 [DeadCode] Allow indirect duplicated grouping on RemoveDuplicatedCaseInSwitchRector (#5234)
2023-11-09 22:08:11 +00:00
Tomas Votruba
b0251feb16 Updated Rector to commit 437f96a264be9b974d2c5abcc4f5097bfb57b20e
437f96a264 RestoreDefaultNullToNullableTypePropertyRector: skip `@readonly` phpdoc (#5233)
2023-11-08 12:07:04 +00:00
Tomas Votruba
2adc308c58 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-08 03:06:40 +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
9e54649587 Updated Rector to commit 290f2a03d53d0b8da35beb973d724f95a77983cb
290f2a03d5 [PostRector] Ensure old classes in use statements cleaned up after rename attribuet on ClassRenamingPostRector (#5231)
2023-11-07 19:13:05 +00:00
Tomas Votruba
0cbee62160 Updated Rector to commit 9adc7a04b3a312957bb305edafcd0427fa6bd257
9adc7a04b3 [CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230)
2023-11-07 18:56:36 +00:00
Tomas Votruba
73986cddda Updated Rector to commit bd191f05ad1e632df5b656c1da0fb56a426f5a0a
bd191f05ad Rectify (#5229)
2023-11-07 15:42:24 +00:00
Tomas Votruba
38b4fc4969 Updated Rector to commit 0a2594d5569028d436e08738fe10d4edb16d61a7
0a2594d556 Remove `ArraySpreadInsteadOfArrayMergeRector` from `LevelSetList::UP_TO_PHP_74` (#5228)
2023-11-07 12:47:57 +00:00
Tomas Votruba
5d5ea43276 Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:20:20 +00:00
Tomas Votruba
c221b7e43d Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:01:11 +00:00
Tomas Votruba
8e33333b8d Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-07 11:07:32 +00:00
Tomas Votruba
2cdabcba36 Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 15:46:58 +00:00
Tomas Votruba
1a3632d316 Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 10:19:06 +00:00
Tomas Votruba
4fde7813cb Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 10:07:45 +00:00
Tomas Votruba
8027a18b9e Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 09:18:43 +00:00
Tomas Votruba
95582bf2b1 Updated Rector to commit 7607b334736d241820f9f307423f6050801b46af
7607b33473 NullableCompareToNullRector: Don't trust phpdocs (#5225)
2023-11-06 09:13:25 +00:00
Tomas Votruba
5990b98c4e Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
8615d40f4c [NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224)
2023-11-05 14:03:03 +00:00
Tomas Votruba
1c5fde5d65 Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
8615d40f4c [NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224)
2023-11-05 13:58:20 +00:00
Tomas Votruba
37bf1c8f19 Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
2ad03db37f [Php83] Adds rule for adding Override attribute (#5170)
2023-11-03 16:34:43 +00:00
Tomas Votruba
cdc1ef461c Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
2ad03db37f [Php83] Adds rule for adding Override attribute (#5170)
2023-11-03 12:13:20 +00:00
Tomas Votruba
23db14797e Updated Rector to commit cc97becc06dcf1b69c5de01aebf09b498c0d9006
cc97becc06 [Testing] In case of failed test using multiple rules, show applied Rector rules to make easy to find them (#5222)
2023-11-03 12:03:05 +00:00
Tomas Votruba
394c30d8ba Updated Rector to commit 2fac959116e4f50471422e5e5c9eaca3163e6667
2fac959116 [AutoImport] Allow auto import just renamed @var only docblock on RenameClassRector without removeUnusedImports() enabled (#5220)
2023-11-03 08:39:18 +00:00
Tomas Votruba
6999c349a8 Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
f9de5d311e [Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219)
2023-11-03 06:37:02 +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
9f6334bf4b Updated Rector to commit aa6d2c3c6c63593bbf39f3451b4314e37e57224e
aa6d2c3c6c cs
2023-10-31 21:08:55 +00:00
Tomas Votruba
44964c7886 Updated Rector to commit 0d55d15b79dbe81e07776c72a5b99f08efa64bd5
0d55d15b79 [Php52][Php70] Handle ContinueToBreakInSwitchRector + BreakNotInLoopOrSwitchToReturnRector (#5217)
2023-10-31 12:51:27 +00:00
Tomas Votruba
714e8b8d05 Updated Rector to commit 95d03317bcd3bdd74f5dd1dba9a84bdc5a60625b
95d03317bc [AutoImport] Ensure change to FullyQualified for Attribute on just changed from annotation (#5216)
2023-10-31 08:18:42 +00:00
Tomas Votruba
1f1e7b8359 Updated Rector to commit 06f806c0fd0c150b8d5449a53f45098431e7503a
06f806c0fd [Php80] Keep single quoted key: 'value' on AnnotationToAttributeRector (#5215)
2023-10-29 18:25:53 +00:00
Tomas Votruba
fcf4282d86 Updated Rector to commit 486986e43330988fb76758b141727586048b01a4
486986e433 [Php80] Keep single quoted Argument Attribute on AnnotationToAttributeRector (#5214)
2023-10-29 13:37:56 +00:00
Tomas Votruba
685f0bab53 Updated Rector to commit 3c526c91f05faf276fb08bedb31bc1dc19cfb678
3c526c91f0 [AutoImport] Handle AnnotationToAttributeRector + RenameClassRector then enable auto import (#5213)
2023-10-29 11:11:38 +00:00