1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-03-27 02:33:19 +01:00

16621 Commits

Author SHA1 Message Date
Tomas Votruba
98ae4430e1 Updated Rector to commit a10ddea5d14f8fbdf21366dbfd20defef01f64db
a10ddea5d1 let phpunit handle its own empty method rule
2023-07-13 10:52:04 +00:00
Tomas Votruba
af5d6b0384 Updated Rector to commit 05c9d9a6bcfbf2d28bb301aa8c3f64709a8e2395
05c9d9a6bc [CI] Add PHPUnit 10 to check rules and sets groups ()
2023-07-13 10:28:45 +00:00
Tomas Votruba
1b09b3544d Updated Rector to commit 9312d25e6d1be520d732af43844093d81139a9d5
9312d25e6d Move Rector order test to PHPUnit, as uses its rules ()
2023-07-13 10:24:26 +00:00
Tomas Votruba
ccf7bb9270 Updated Rector to commit 5d942a0f7ee68dee11b4fb6dd72a78f6bbe938a0
5d942a0f7e Add PHPUnit to sets ()
2023-07-13 10:23:36 +00:00
Tomas Votruba
78bf7df696 Updated Rector to commit 54826059d1d559be54053bac1913c8eb6940fdb8
54826059d1 Cleanup RecastingRemovalRector tests ()
2023-07-13 10:16:17 +00:00
Tomas Votruba
028d735104 Updated Rector to commit 23e4b6631f1686ab59c0ebc962e3c4d8df181e76
23e4b6631f Exclude the full docs folder from archives ()
2023-07-13 09:14:00 +00:00
Tomas Votruba
a2178d82dc Updated Rector to commit 9e9a314b23fa9f217c236412591c4cb9ad94edf5
9e9a314b23 [NodeTypeResolver] Remove unused AttributeKey::INSIDE_ARRAY_ITEM on ContextNodeVisitor ()
2023-07-12 22:16:31 +00:00
Tomas Votruba
400669639f Updated Rector to commit 77167c7a1047f430b68f7b1063b5f2cb8dfa9830
77167c7a10 [Php52] Use instanceof check instead of compare object $newStmt === $caseStmt  on ContinueToBreakInSwitchRector ()
2023-07-12 16:02:47 +00:00
Tomas Votruba
5df86ccec2 Updated Rector to commit 77167c7a1047f430b68f7b1063b5f2cb8dfa9830
77167c7a10 [Php52] Use instanceof check instead of compare object $newStmt === $caseStmt  on ContinueToBreakInSwitchRector ()
2023-07-12 15:15:50 +00:00
Tomas Votruba
31e06fa816 Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
293913662e [Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used ()
2023-07-12 15:02:18 +00:00
Tomas Votruba
0ac904fa27 Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
293913662e [Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used ()
2023-07-12 14:49:54 +00:00
Tomas Votruba
a10e49e22a Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
293913662e [Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used ()
2023-07-12 14:29:41 +00:00
Tomas Votruba
50d0f997c6 Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
293913662e [Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used ()
2023-07-12 14:21:26 +00:00
Tomas Votruba
d4bf4ea4ff Updated Rector to commit 706be908c5d96381785128ad94cc608814aa0f35
706be908c5 lock react/promise to avoid process leaking
2023-07-12 13:11:50 +00:00
Tomas Votruba
75f2fdd3e2 Updated Rector to commit 706be908c5d96381785128ad94cc608814aa0f35
706be908c5 lock react/promise to avoid process leaking
2023-07-12 12:45:07 +00:00
Tomas Votruba
495c6799f3 Updated Rector to commit 706be908c5d96381785128ad94cc608814aa0f35
706be908c5 lock react/promise to avoid process leaking
2023-07-12 10:45:31 +00:00
Tomas Votruba
72beb9bc2e Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
c0983f1000 Skip coalsce assign in RemoveUnusedPrivatePropertyRector ()
2023-07-12 10:10:58 +00:00
Tomas Votruba
fe7bab8799 Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
c0983f1000 Skip coalsce assign in RemoveUnusedPrivatePropertyRector ()
2023-07-12 09:53:27 +00:00
Tomas Votruba
a2e84092f6 Updated Rector to commit 84afeaf9870b3b3405dbc906c2c795f02b101fcd
84afeaf987 Revert "regular terminating and respawning of processes ()" ()
2023-07-12 08:55:55 +00:00
Tomas Votruba
f4a5f45c42 Rector 0.17.5 0.17.5 2023-07-12 08:42:12 +00:00
Tomas Votruba
b978021461 Updated Rector to commit 84926641fd25008f8b9e00c821643624fc2c9e29
84926641fd cs
2023-07-12 08:39:40 +00:00
Tomas Votruba
03be03391c Updated Rector to commit d514a5ad79c530cf236308d4f7ab9254e2340996
d514a5ad79 Fix StrictArrayParamDimFetchRector on same named property ()
2023-07-12 08:37:36 +00:00
Tomas Votruba
7312a4cf9b Updated Rector to commit d4be167d7e1bc3940db01d3a2096df7aa9cebe1c
d4be167d7e Fix trait rename in Php4ConsturctorRector ()
2023-07-12 08:11:47 +00:00
Tomas Votruba
100d1e2fc8 Updated Rector to commit d4a432e7e490695a11daa32bce6bf20ab0d075f6
d4a432e7e4 Fix StrictArrayParamDimFetchRector on `is_*` calls ()
2023-07-12 08:02:53 +00:00
Tomas Votruba
db04f76104 Updated Rector to commit d78bfb44bebd32bd212a1f1ca43d2da51b22286d
d78bfb44be [Strict] Fix DisallowedEmptyRuleFixerRector on empty string isset ()
2023-07-12 07:23:56 +00:00
Tomas Votruba
ae068885cc Updated Rector to commit 3648297e5b2bc393b41fa85eba1028d3735dbaa6
3648297e5b [CodeQuality][Php80] Handle infite loop swap params on RemoveUnusedVariableInCatchRector + OptionalParametersAfterRequiredRector ()
2023-07-11 23:50:02 +00:00
Tomas Votruba
9aefef183d Updated Rector to commit 5dfb6218ec53caa197456adb78baebaae0a4334a
5dfb6218ec [Php80] Handle crash on ClassOnObjectRector + GetDebugTypeRector ()
2023-07-11 23:03:45 +00:00
Tomas Votruba
72fec64c3b Updated Rector to commit 4fbeab88e1b505c0740e66d53864667cc3d7700a
4fbeab88e1 fix(rules): Skip readonly classes from restoring default null value. ()
2023-07-11 22:02:27 +00:00
Tomas Votruba
802b78e28b Updated Rector to commit dd6a1fb651c07c558d28a9dcf72ff1248b2c0614
dd6a1fb651 [DeadCode] Skip property not exists on RemoveTypedPropertyDeadInstanceOfRector ()
2023-07-11 21:50:58 +00:00
Tomas Votruba
1482988827 Rector 0.17.4 0.17.4 2023-07-11 16:00:46 +00:00
Tomas Votruba
fb5e28c38b Updated Rector to commit db16e33a9a72d6c75600187d9f7851060d9a88fe
db16e33a9a [EarlyReturn] Remove ReturnBinaryAndToEarlyReturnRector as creates code hard to read and flips condition ()
2023-07-11 15:52:31 +00:00
Tomas Votruba
e73319defd Updated Rector to commit 59b4c8d69f788a36184b69adf06b03e2ab2e8989
59b4c8d69f cs
2023-07-11 15:36:25 +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 ()
2023-07-11 15:35:53 +00:00
Tomas Votruba
a552423177 Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
aac0f2a909 Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule ()
2023-07-10 23:27:24 +00:00
Tomas Votruba
6f70a13e76 Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
aac0f2a909 Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule ()
2023-07-10 23:19:20 +00:00
Tomas Votruba
dbd0b13b4f Rector 0.17.3 0.17.3 2023-07-10 13:32:43 +00:00
Tomas Votruba
5f68d82340 Updated Rector to commit 284596d4b976784ebe973370e2ed93d0e9977d90
284596d4b9 [Testing] Remove gc_collect_cycles() on AbstractRectorTestCase to avoid random error in tests due to SimpleParameterProvider static property usage lost ()
2023-07-10 11:49:37 +00:00
Tomas Votruba
94fef75d5b Updated Rector to commit 284596d4b976784ebe973370e2ed93d0e9977d90
284596d4b9 [Testing] Remove gc_collect_cycles() on AbstractRectorTestCase to avoid random error in tests due to SimpleParameterProvider static property usage lost ()
2023-07-10 11:44:16 +00:00
Tomas Votruba
56adf233ec Updated Rector to commit bed225d99e487388a60785fdb898fc997d3f759c
bed225d99e [Renaming] Use RunTestsInSeparateProcesses on RenameClassRector tests ()
2023-07-10 11:20:12 +00:00
Tomas Votruba
474e8a76ec Updated Rector to commit 28412a49f7bd52094196e659ec0c68f9642c08b1
28412a49f7 [Naming] Skip used on next foreach on RenameForeachValueVariableToMatchExprVariableRector ()
2023-07-10 10:56:25 +00:00
Tomas Votruba
2d46a8afb9 Updated Rector to commit 5b64258e7c9628d80fa3247a698c646def55dca4
5b64258e7c [DeadCode] Skip used defined in extract() on RemoveNonExistingVarAnnotationRector ()
2023-07-10 09:23:28 +00:00
Tomas Votruba
3f51587157 Updated Rector to commit 3cc636540bccf0fc647ff13e1bea212c6bfa4962
3cc636540b [CodingStyle] Using in_array() instead of double loop on UseImportsRemover ()
2023-07-09 23:56:37 +00:00
Tomas Votruba
484c94d08a Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
868612ae6b [DX] Remove parent node from AbstractRector ()
2023-07-09 18:49:55 +00:00
Tomas Votruba
9bef88551a Updated Rector to commit a771c5621971eb1c527c75de17119a82ac8294e6
a771c56219 [DX] Remove autowrapping of expr/stmt to make return values in the same type and reliable ()
2023-07-09 17:30:30 +00:00
Tomas Votruba
11aabec02c Updated Rector to commit 5c85bb6c455815d93d2026b430983ab28fb8d46e
5c85bb6c45 Remove NodeConnectingTraverser ()
2023-07-09 14:55:22 +00:00
Tomas Votruba
5ae7edc0c7 Updated Rector to commit 2ad1b8f7fb44daabca0014770dd75b17d0e23b8d
2ad1b8f7fb [DX] Remove node connecting travserser from AbstractRector ()
2023-07-09 14:20:13 +00:00
Tomas Votruba
2c65e379e2 Updated Rector to commit 9608c7cda5c29ee505d8e39f37e725b9b9fb5fbf
9608c7cda5 [DX] Remove node connecting traveser from SimplePhpParser ()
2023-07-09 14:14:59 +00:00
Tomas Votruba
001414980a Updated Rector to commit 14089145f699c64437b484209998963d3c75b0a1
14089145f6 [Rector] Skip used after TryCatch on RemoveUnusedVariableInCatchRector ()
2023-07-09 13:58:38 +00:00
Tomas Votruba
e24fff2c36 Updated Rector to commit 68d092c547af462f8e036a6d06bd343e15103901
68d092c547 [DX] Make use of SimpleParameterProvider directly, deprecate RectorConfigProvider ()
2023-07-09 13:51:12 +00:00
Tomas Votruba
8b1461a064 Updated Rector to commit ab9d3219915e1bcab0f1cda02d76dc57ff03c9ce
ab9d321991 [DX] Fix duplicate check in RectorConfig ()
2023-07-09 12:20:50 +00:00