Commit Graph

8384 Commits

Author SHA1 Message Date
Tomas Votruba
e071d037e3 Updated Rector to commit 9fa5013b41ecee17113c56ad94f219bd1940e763
9fa5013b41 [Performance][Renaming] Remove unnecessary array_reverse() on RenameClassRector (#5266)
2023-11-19 15:48:32 +00:00
Tomas Votruba
5980d06d27 Updated Rector to commit 13284c60485e972ef72bf234b3c014c5f89e0d14
13284c6048 [Renaming][Performance] Re-structure check namespace only on renamed node got Namespace_ (#5265)
2023-11-19 03:14:20 +00:00
Tomas Votruba
318c07bf9f Updated Rector to commit e43a1cec56310b6762eb0b56d18f60402d5fd652
e43a1cec56 [Renaming] Handle Rename no namespace to namespaced class with existing use statements (#5264)
2023-11-19 02:55:19 +00:00
Tomas Votruba
73bd769732 Updated Rector to commit 7fca71b08c86551c39f0a9f71c41a9806d80b154
7fca71b08c [automated] Apply Coding Standard (#5263)
2023-11-19 00:28:51 +00:00
Tomas Votruba
ea7666298a Updated Rector to commit 3e6bdd8174e88b0e339365a9d76df8be173b7070
3e6bdd8174 [Php71] Ensure re-assign after definition on AssignArrayToStringRector (#5262)
2023-11-19 00:05:14 +00:00
Tomas Votruba
5fa526e204 Updated Rector to commit de333f27982cd1b27450c6dfa87ec723b29fbc1c
de333f2798 [Php71] Skip re-assigned as array on AssignArrayToStringRector (#5261)
2023-11-19 00:02:19 +00:00
Tomas Votruba
b83524f932 Updated Rector to commit 6a2af1878843ade4b1890f9a1a04f815cc600fa4
6a2af18788 [TypeDeclaration] Skip echo-ed on StrictArrayParamDimFetchRector (#5260)
2023-11-18 13:54:46 +00:00
Tomas Votruba
4cf16f617f Updated Rector to commit 03c7ab7a0f3b7a2ba106bef1ccf508d1b9b63850
03c7ab7a0f [TypeDeclaration] Skip default not array type on StrictArrayParamDimFetchRector (#5259)
2023-11-18 13:41:50 +00:00
Tomas Votruba
912487ba8d Updated Rector to commit 4a3e6982647ce4fdc84b1232557eaeae7e914bde
4a3e698264 [DeadCode] Skip multi no stmts on RemoveDuplicatedCaseInSwitchRector (#5258)
2023-11-18 02:19:29 +00:00
Tomas Votruba
f36bc0a707 Rector 0.18.10 2023-11-16 19:42:21 +00:00
Tomas Votruba
b89547bfbe Updated Rector to commit 2d1b9ab461c35e326b2ad78bd2758c5c3a69c9cc
2d1b9ab461 [Renaming] FQN-ize namespaced import no namespace -> namespaced name on RenameClassRector (#5256)
2023-11-16 19:38:51 +00:00
Tomas Votruba
5aeafef0ed Rector 0.18.9 2023-11-16 18:38:03 +00:00
Tomas Votruba
2da177465a Updated Rector to commit 363ae1bd444c365e38aef1cfcd69324b734c3c9c
363ae1bd44 [Performance][PostRector] Only process FullyQualified on import Node name on NameImportingPostRector  (#5255)
2023-11-16 17:36:40 +00:00
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
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
c221b7e43d Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:01:11 +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
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
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
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