Commit Graph

16416 Commits

Author SHA1 Message Date
Tomas Votruba
028d735104 Updated Rector to commit 23e4b6631f1686ab59c0ebc962e3c4d8df181e76
23e4b6631f Exclude the full docs folder from archives (#4497)
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 (#4496)
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 (#4494)
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 (#4494)
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 (#4493)
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 (#4493)
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 (#4493)
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 (#4493)
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 (#4491)
2023-07-12 10:10:58 +00:00
Tomas Votruba
fe7bab8799 Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
c0983f1000 Skip coalsce assign in RemoveUnusedPrivatePropertyRector (#4491)
2023-07-12 09:53:27 +00:00
Tomas Votruba
a2e84092f6 Updated Rector to commit 84afeaf9870b3b3405dbc906c2c795f02b101fcd
84afeaf987 Revert "regular terminating and respawning of processes (#3722)" (#4489)
2023-07-12 08:55:55 +00:00
Tomas Votruba
f4a5f45c42 Rector 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 (#4488)
2023-07-12 08:37:36 +00:00
Tomas Votruba
7312a4cf9b Updated Rector to commit d4be167d7e1bc3940db01d3a2096df7aa9cebe1c
d4be167d7e Fix trait rename in Php4ConsturctorRector (#4487)
2023-07-12 08:11:47 +00:00
Tomas Votruba
100d1e2fc8 Updated Rector to commit d4a432e7e490695a11daa32bce6bf20ab0d075f6
d4a432e7e4 Fix StrictArrayParamDimFetchRector on `is_*` calls (#4486)
2023-07-12 08:02:53 +00:00
Tomas Votruba
db04f76104 Updated Rector to commit d78bfb44bebd32bd212a1f1ca43d2da51b22286d
d78bfb44be [Strict] Fix DisallowedEmptyRuleFixerRector on empty string isset (#4485)
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 (#4484)
2023-07-11 23:50:02 +00:00
Tomas Votruba
9aefef183d Updated Rector to commit 5dfb6218ec53caa197456adb78baebaae0a4334a
5dfb6218ec [Php80] Handle crash on ClassOnObjectRector + GetDebugTypeRector (#4483)
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. (#4479)
2023-07-11 22:02:27 +00:00
Tomas Votruba
802b78e28b Updated Rector to commit dd6a1fb651c07c558d28a9dcf72ff1248b2c0614
dd6a1fb651 [DeadCode] Skip property not exists on RemoveTypedPropertyDeadInstanceOfRector (#4481)
2023-07-11 21:50:58 +00:00
Tomas Votruba
1482988827 Rector 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 (#4478)
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 (#4476)
2023-07-11 15:35:53 +00:00
Tomas Votruba
a552423177 Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
aac0f2a909 Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule (#4473)
2023-07-10 23:27:24 +00:00
Tomas Votruba
6f70a13e76 Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
aac0f2a909 Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule (#4473)
2023-07-10 23:19:20 +00:00
Tomas Votruba
dbd0b13b4f Rector 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 (#4472)
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 (#4472)
2023-07-10 11:44:16 +00:00
Tomas Votruba
56adf233ec Updated Rector to commit bed225d99e487388a60785fdb898fc997d3f759c
bed225d99e [Renaming] Use RunTestsInSeparateProcesses on RenameClassRector tests (#4471)
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 (#4469)
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 (#4468)
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 (#4467)
2023-07-09 23:56:37 +00:00
Tomas Votruba
484c94d08a Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
868612ae6b [DX] Remove parent node from AbstractRector (#4465)
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 (#4466)
2023-07-09 17:30:30 +00:00
Tomas Votruba
11aabec02c Updated Rector to commit 5c85bb6c455815d93d2026b430983ab28fb8d46e
5c85bb6c45 Remove NodeConnectingTraverser (#4464)
2023-07-09 14:55:22 +00:00
Tomas Votruba
5ae7edc0c7 Updated Rector to commit 2ad1b8f7fb44daabca0014770dd75b17d0e23b8d
2ad1b8f7fb [DX] Remove node connecting travserser from AbstractRector (#4463)
2023-07-09 14:20:13 +00:00
Tomas Votruba
2c65e379e2 Updated Rector to commit 9608c7cda5c29ee505d8e39f37e725b9b9fb5fbf
9608c7cda5 [DX] Remove node connecting traveser from SimplePhpParser (#4461)
2023-07-09 14:14:59 +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
e24fff2c36 Updated Rector to commit 68d092c547af462f8e036a6d06bd343e15103901
68d092c547 [DX] Make use of SimpleParameterProvider directly, deprecate RectorConfigProvider (#4460)
2023-07-09 13:51:12 +00:00
Tomas Votruba
8b1461a064 Updated Rector to commit ab9d3219915e1bcab0f1cda02d76dc57ff03c9ce
ab9d321991 [DX] Fix duplicate check in RectorConfig (#4457)
2023-07-09 12:20:50 +00:00
Tomas Votruba
5fecc17d26 Updated Rector to commit 1eb97049da78c3d9a37d516176de89bb58fc4ecb
1eb97049da Remove deprecated resolveNextNode() to embrace local scope node (#4456)
2023-07-09 12:05:42 +00:00
Tomas Votruba
78db55b5d5 Updated Rector to commit ed6f2b66c4d1d58a5181b6d76d8ee09e9c7e7c6b
ed6f2b66c4 Deprecate resolveNextNode() to work only in current node tree context (#4455)
2023-07-09 11:55:46 +00:00
Tomas Votruba
994045415a Updated Rector to commit ad7d9b12ea0fa8bba78be8d0348daa6ecffe3abe
ad7d9b12ea [DX] Always init $this->hasChanged on Rector rule to ensure the flag is reset on same call on different file (#4454)
2023-07-09 11:49:50 +00:00
Tomas Votruba
50857a197a Updated Rector to commit 5ed67fb6cfd7bdb79ac993797123f25e78d61d11
5ed67fb6cf Cleanup RenameForeachValueVariableToMatchExprVariableRector (#4453)
2023-07-09 11:25:27 +00:00
Tomas Votruba
a319accada Updated Rector to commit d706d342846639545e2a19eadd618fac31751417
d706d34284 Make JsonThrowOnErrorRector work with local scope to detect error_json methods (#4451)
2023-07-09 11:07:02 +00:00