Commit Graph

3722 Commits

Author SHA1 Message Date
Tomas Votruba
a31c14f083 Updated Rector to commit 98fa6b51c4114010cb45c7f07ad96256430bf605
98fa6b51c4 [NodeManipulator] Reduce parent lookup on PropertyFetchAssignManipulator (#4036)
2023-05-31 13:17:35 +00:00
Tomas Votruba
c0ad822683 Updated Rector to commit 227186b39430fee40e5c6ba5ff7261700c9d5031
227186b394 [Performance] Reduce parent lookup on PropertyFetchAnalyzer (#4034)
2023-05-31 13:04:27 +00:00
Tomas Votruba
afcc6c02eb Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-30 14:55:26 +00:00
Tomas Votruba
442b2ce101 Updated Rector to commit 73c1ac45e78b2e8b091f7a0cbcc0b54b9b24bb42
73c1ac45e7 Make use of key to remove property (#4032)
2023-05-30 14:11:53 +00:00
Tomas Votruba
5e8e8dbc29 Updated Rector to commit 46d2aacd80260f0d6ff7ed0454100be3ed279b63
46d2aacd80 [Core] Ensure define  before refactor() called to avoid changed during refactor (#4031)
2023-05-30 13:37:00 +00:00
Tomas Votruba
a0204cf9f1 Updated Rector to commit b37e2733e1c393bc802d0c378abfa3f3f4d87068
b37e2733e1 [Core] Ensure reindex node attributes even on re-print (#4030)
2023-05-30 13:30:54 +00:00
Tomas Votruba
36bff0a577 Updated Rector to commit 105df5f485c8e3b2e9b75320555a32b5325186b5
105df5f485 Remove NewToMethodCallRector as unused core and no other extension, niche to use, better handle by PHPStorm (#4029)
2023-05-30 13:20:44 +00:00
Tomas Votruba
df2ad70dd3 Updated Rector to commit 4c782243fdb6b03474faa0076800048cb3ef0de9
4c782243fd Remove ChangeReadOnlyPropertyWithDefaultValueToConstantRector as overly detailed checks, better use PHPStan and refactor individually (#4028)
2023-05-30 13:09:27 +00:00
Tomas Votruba
010d5d2c6f Updated Rector to commit 22e97d1c418d0772cf449ed888522ca060829ddf
22e97d1c41 Cleanup stmts (#4027)
2023-05-30 13:05:48 +00:00
Tomas Votruba
8fa5f13430 Updated Rector to commit 953ecb9ecd02d5fc13a21cd7086b60aa45eac31d
953ecb9ecd Improve RemoveUnusedNonEmptyArrayBeforeForeachRector to work with foreach over stmts (#4026)
2023-05-30 12:38:31 +00:00
Tomas Votruba
01ece07757 Updated Rector to commit e0d7483c6257a772829bc28ca76c8237cabb6435
e0d7483c62 Make use of stmts assign in StringableForToStringRector (#4025)
2023-05-30 12:30:41 +00:00
Tomas Votruba
fed7beb412 Updated Rector to commit 5bae1ebdcee327ac3dcf4a25175f9013af54ec3d
5bae1ebdce trigger CI
2023-05-30 10:33:01 +00:00
Tomas Votruba
1a69dcf241 Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
d413dc15e6 Remove unused method addNodesBeforeNode() (#4024)
2023-05-30 09:18:02 +00:00
Tomas Votruba
9fd6682367 Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 09:05:58 +00:00
Tomas Votruba
28d2a3ced0 Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
d413dc15e6 Remove unused method addNodesBeforeNode() (#4024)
2023-05-30 09:05:54 +00:00
Tomas Votruba
672d7d7dfe Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 08:16:08 +00:00
Tomas Votruba
305fa5edd6 Updated Rector to commit b97fe194b45a7915fd1509b9388315f49582cb2c
b97fe194b4 [Php80] Remove parent attribute usage on ClassPropertyAssignToConstructorPromotionRector (#4022)
2023-05-29 23:40:49 +00:00
Tomas Votruba
74fee33fad Updated Rector to commit 5979f30756eca7e8f2736514451d5c7bdfed50ce
5979f30756 Remove removeNode() from FuncGetArgsToVariadicParamRector (#4021)
2023-05-29 21:33:59 +00:00
Tomas Votruba
5062188fe8 Updated Rector to commit 0ea7b49d5839f4dcdf5c9966cf410b3394c5e060
0ea7b49d58 [Testing] Remove require_once on TestingParser::parseFileToDecoratedNodes() (#4009)
2023-05-29 18:30:06 +00:00
Tomas Votruba
83e5614f51 Updated Rector to commit 45a9dd5df8411c31f89e87b8cfcc4348625ce627
45a9dd5df8 fix cs
2023-05-29 14:21:32 +00:00
Tomas Votruba
8d722f5b92 Updated Rector to commit 3dfe7f9c11dc0ea75ba73da6f4639c1718843dc2
3dfe7f9c11 [Test] Enable displayDetailsOnTestsThatTriggerWarnings to true in tests to show warning (#4020)
2023-05-29 14:02:39 +00:00
Tomas Votruba
85587ab16d Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:26:31 +00:00
Tomas Votruba
6b379fd240 Updated Rector to commit e6048295f9001e693403f9f47fd956c543636c16
e6048295f9 [DeadCode] Use  flag on return ClassMethod node on RemoveUnusedConstructorParamRector (#4017)
2023-05-29 12:18:38 +00:00
Tomas Votruba
672507859d Updated Rector to commit 580c76d7fe50f608dfac67f011cd6cac33b6ef72
580c76d7fe [DeadCode] Revert constructor with middle param removal on RemoveUnusedPrivatePropertyRector (#4016)
2023-05-29 12:06:26 +00:00
Tomas Votruba
485a9df50b Updated Rector to commit a91057e5a1f14fe12a1e9bded2c006012c09b00d
a91057e5a1 Remove PARENT_NODE from ArrayDimFetchTypeResolver (#4015)
2023-05-29 09:58:15 +00:00
Tomas Votruba
1b08d37c26 Updated Rector to commit f15cbd7a7d1913287cf67fa9ee2311ebee11cae3
f15cbd7a7d Remove PARENT_NODE from RemoveUnusedConstructorParamRector (#4014)
2023-05-29 09:38:38 +00:00
Tomas Votruba
601ac11f14 Updated Rector to commit 32510e0dc7ee63d5a38c7d088aaf82eee605c516
32510e0dc7 Remove array items directly RemoveDuplicatedArrayKeyRector (#4013)
2023-05-29 09:16:46 +00:00
Tomas Votruba
c98c306aa8 Updated Rector to commit cd48bfcc4785fb0d2cf828240f8f71231b232c85
cd48bfcc47 Cleanup removeNodeFromStatements(), removeArg(), removeParam(), removeStmt() methods and remove nodes directly (#4012)
2023-05-29 08:39:56 +00:00
Tomas Votruba
b6aa01ccb7 Updated Rector to commit 8f24c73f1894356dd9ad3745924d027fa65a5602
8f24c73f18 Remove PARENT_NODE from CommentsMerger (#4011)
2023-05-29 08:09:04 +00:00
Tomas Votruba
969127f9a6 Updated Rector to commit f429e2811c97689001f45c420d1d674322d00822
f429e2811c Remove use imports directly (#4008)
2023-05-29 06:32:46 +00:00
Tomas Votruba
b4e067384d Updated Rector to commit 7891fdab42c174d2443674004396aef362994d4a
7891fdab42 [ProcessAnalyzer] Remove parent attribute on RectifiedAnalyzer (#4010)
2023-05-29 00:14:54 +00:00
Tomas Votruba
b403b25ebd Updated Rector to commit 1f594c05a70e6a8a40f15503644ed86a75bbc5f9
1f594c05a7 [CodeQuality] Remove parent attribute on LocalPropertyAnalyzer (#4007)
2023-05-28 21:32:40 +00:00
Tomas Votruba
4cf0c8c8ba Updated Rector to commit 48991c6394059d53256dcfacf41957f8a434a453
48991c6394 [Performance] Reduce ClassReflection lookup on RemoveUnusedPrivateMethodRector (#4006)
2023-05-28 21:08:58 +00:00
Tomas Votruba
45419321ce Updated Rector to commit 95d3dc93770718d2337a7addbfed021f6cad8072
95d3dc9377 [DeadCode] Remove parent lookup on RemoveUnusedPrivateMethodRector (#4005)
2023-05-28 21:02:39 +00:00
Tomas Votruba
1e426f9497 Updated Rector to commit cc6dc93b566930e66b61ee04205ef943a8d9d339
cc6dc93b56 [CodeQuality] Reduce parent lookup on LocalPropertyAnalyzer::resolveFetchedPropertiesToTypesFromClass() (#4004)
2023-05-28 20:47:12 +00:00
Tomas Votruba
84236fa01b Updated Rector to commit 25d6a9740ed21735c4194b94f4d5cabe5b976832
25d6a9740e Cleanup usage of NodesToAddCollector, return nodes directly instead (#4003)
2023-05-28 20:45:54 +00:00
Tomas Votruba
0ac7af6da1 Updated Rector to commit 3fb912c94432b75fb50a14071f584671a882970d
3fb912c944 Rebuild docs (#4002)
2023-05-28 16:17:31 +00:00
Tomas Votruba
99ac9186fd Updated Rector to commit 25ae1d85be40243e03c950de3ac15af7b5b5d3b2
25ae1d85be Remove TokenGetAllToObjectRector, as rare to use and leaky to handle, better handle in controller manual way (#4001)
2023-05-28 16:12:02 +00:00
Tomas Votruba
82f764337c Updated Rector to commit ec2893301809a41a4629aabc3888b968a9613f5e
ec28933018 [Naming] Remove parent attribute on VariableRenamer (#4000)
2023-05-28 14:39:57 +00:00
Tomas Votruba
35af12fddf Updated Rector to commit 7a739fd157144b4a03d88a01a5dd01740a02f2c7
7a739fd157 [Php81] Remove parent attribute on ReadOnlyPropertyRector (#3999)
2023-05-28 14:30:49 +00:00
Tomas Votruba
9b4ae51505 Updated Rector to commit 4d4c73d5957cd03b26d4a7f6b6b3e209f4506cd3
4d4c73d595 [automated] Apply Coding Standard (#3998)
2023-05-28 00:32:17 +00:00
Tomas Votruba
9c4d020ccb Updated Rector to commit fddbb6231342654d15bbaec2792f182881ef66fe
fddbb62313 [TypeDeclaration] Remove parent attribute on ConstructorAssignDetector (#3996)
2023-05-27 20:24:32 +00:00
Tomas Votruba
1ba4e98604 Updated Rector to commit a73aa4e226b74463ba3025dfe3e8bf11bb07a953
a73aa4e226 [Performance] Reduce resolveClassReflection() on PrivatizeFinalClassPropertyRector (#3994)
2023-05-27 15:56:25 +00:00
Tomas Votruba
ea8041895c Updated Rector to commit ebe2a37fe2c0c387e655259548ab7a6f76b3f298
ebe2a37fe2 [Php74][Privatization] Refactor ParentPropertyLookupGuard to use ClassReflection to reduce IO (#3993)
2023-05-27 15:46:25 +00:00
Tomas Votruba
88a00032b7 Updated Rector to commit 754fca568f1d19b792bd5ccd476d10c675ba77f3
754fca568f [Php74] Remove parent attribute on PropertyTypeChangeGuard (#3992)
2023-05-27 12:07:30 +00:00
Tomas Votruba
3ab41786d6 Updated Rector to commit f9f1c269c7cfb02b3a78efca476cb2f189fbb33c
f9f1c269c7 [Php81] Add  flag to only return node on changed params on NewInInitializerRector (#3991)
2023-05-27 11:23:52 +00:00
Tomas Votruba
ffca1acc2d Updated Rector to commit e8151293d5a25a776c73dd73eeed461c26dc7e6b
e8151293d5 Remove PARENT_NODE from CatchExceptionNameMatchingTypeRector (#3990)
2023-05-27 10:47:14 +00:00
Tomas Votruba
0256872962 Updated Rector to commit fdf11bab10f9e7e1d63b4e0dba1325b947391e5d
fdf11bab10 Refactor PARENT_NODE from StringClassNameToClassConstantRector (#3989)
2023-05-27 10:40:14 +00:00
Tomas Votruba
d48ca72a44 Updated Rector to commit d9908088500d235348a84de13f96823bc03b4706
d990808850 Remove PARENT_NODE from PseudoNamespaceToNamespaceRector (#3988)
2023-05-27 10:31:41 +00:00
Tomas Votruba
3305b77873 Updated Rector to commit 61d780b7491001fa13597795320c9e92f893c50d
61d780b749 add symfony contracts for trigger_deprecation function (#3987)
2023-05-27 10:19:41 +00:00
Tomas Votruba
c613309b06 Updated Rector to commit 1e0a1ceb897de085e3b8a68fbf88b4028d2064b0
1e0a1ceb89 Return nodes directly in MoneyFormatToNumberFormatRector (#3986)
2023-05-27 10:18:32 +00:00
Tomas Votruba
466c54de06 Updated Rector to commit 582af523662c9aac2603a1535d58fc932ab1c330
582af52366 Refactor PARENT_NODE from ChangeAndIfToEarlyReturnRector (#3985)
2023-05-27 09:52:50 +00:00
Tomas Votruba
4af8e96d37 Updated Rector to commit 330e1c5845ca7a569840384fa6eb3e730e13df71
330e1c5845 Update dependencies (#3984)
2023-05-27 09:31:07 +00:00
Tomas Votruba
eb19a0084e Updated Rector to commit 18d8df639c4376c2784a585eb5deafeda971597e
18d8df639c Refactor away PARENT_NODE from AssignArrayToStringRector (#3983)
2023-05-27 09:26:50 +00:00
Tomas Votruba
2774b5f9dd Updated Rector to commit c70a5b8fdbbb3306603c67a972265872eaa3da2b
c70a5b8fdb Refactor away from PARENT_NODE in ListToArrayDestructRector (#3982)
2023-05-27 08:27:32 +00:00
Tomas Votruba
d9bf6b5c97 Updated Rector to commit 0f412e7961d9c00f47185bd8ed235db950f2d3eb
0f412e7961 handle nested ternary have last and start with () (#3981)
2023-05-27 03:07:15 +00:00
Tomas Votruba
3267b9499d Updated Rector to commit 385a9cb5f1235808c7226c2efccdc10fc6de6542
385a9cb5f1 [Php74] Skip parenthesize ternary if on ParenthesizeNestedTernaryRector (#3980)
2023-05-26 23:56:10 +00:00
Tomas Votruba
d3dfbb4638 Updated Rector to commit 2f84187dc1d6db09788adf8346339d6854902db5
2f84187dc1 Remove RenameNamespaceRector, better handle by IDE or explicit RenameClassRector (#3979)
2023-05-26 21:28:23 +00:00
Tomas Votruba
d8c877db45 Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
33d05d3b9e Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977)
2023-05-26 14:00:49 +00:00
Tomas Votruba
ce521dbd34 Updated Rector to commit bb3d37ab214177a4e2877a5e0b383d055c62b6ad
bb3d37ab21 Remove ChangeReflectionTypeToStringToGetNameRector as niche and overly detailed, better refactor reflectio na as a whole (#3976)
2023-05-26 13:24:53 +00:00
Tomas Votruba
1539fc211a Updated Rector to commit c1cb710c872d25f5daa3fd085fc24640716a80f4
c1cb710c87 Remove ReservedObjectRector as requires explicit configuration and is handled by RenameClassRector already (#3975)
2023-05-26 13:14:15 +00:00
Tomas Votruba
11b175ef12 Updated Rector to commit 6d4a73ed6e31a7fb64b547edad2270391ef03ca2
6d4a73ed6e Remove PARENT_NODE from ParenthesizeNestedTernaryRector (#3974)
2023-05-26 13:12:31 +00:00
Tomas Votruba
7587e17e7b Updated Rector to commit d8e8a34a606b1e0b0a1a674a4e008822bbedf624
d8e8a34a60 Refactor PARENT_NODE away from EregToPregMatchRector (#3973)
2023-05-26 13:00:21 +00:00
Tomas Votruba
af4dc685fb Updated Rector to commit 14fc01359ed4b27798ac64532cb128ab0ad2f32e
14fc01359e Make MysqlAssignToMysqliRector return new stmts directly (#3972)
2023-05-26 12:44:21 +00:00
Tomas Votruba
f3a4204585 Updated Rector to commit 6c78d67c41b6445159db4d1c0841d1690d4ac2fe
6c78d67c41 Revert [NodeTypeResolver] Remove parent attribute usage on PHPStanNodeScopeResolver for next UnreachableStatementNode detection (#3970) (#3971)
2023-05-26 10:03:50 +00:00
Tomas Votruba
eae5c53485 Updated Rector to commit 265d627ddf7663fe65bfda2aa4cf32fc4a3ba95d
265d627ddf Remove IsObjectOnIncompleteClassRector as blindly turns all incomplete checks to negated, better examine manually (#3969)
2023-05-25 16:35:30 +00:00
Tomas Votruba
2a68777a50 Updated Rector to commit d99713c7d55f25612440948b8a85b5b99e0b0e11
d99713c7d5 [CodingStyle] Remove parent attribute on NewlineAfterStatementRector (#3967)
2023-05-25 15:39:32 +00:00
Tomas Votruba
c3d9ce9a50 Updated Rector to commit d279f71da7380aa7a55356c81f798aa56c7644f3
d279f71da7 [CodingStyle] Remove Else as next stmt on NewlineAfterStatementRector (#3966)
2023-05-25 15:31:05 +00:00
Tomas Votruba
48f64cd534 Updated Rector to commit eb463524bc550781d37cb170c416329bfe727992
eb463524bc Remove PARENT_NODE from CountArrayToEmptyArrayComparisonRector (#3965)
2023-05-25 15:20:14 +00:00
Tomas Votruba
3a65d40447 Updated Rector to commit a244917a428baa6fa06fabaa4e0be15fd3154e50
a244917a42 Remove PARENT_NODE from AddReturnTypeDeclarationBasedOnParentClassMethodRector (#3964)
2023-05-25 14:52:36 +00:00
Tomas Votruba
28adaf00cf Updated Rector to commit 041fa832d50b0548594e5f8aa53036b394016c27
041fa832d5 Refactor from PARENT_NODE in RemoveParentCallWithoutParentRector (#3963)
2023-05-25 14:40:36 +00:00
Tomas Votruba
92a1548c49 Updated Rector to commit 8e3620b0fb37f25a4966d9c07b0a55c02814f89c
8e3620b0fb Refactor from PARENT_NODE in PostIncDecToPreIncDecRector (#3962)
2023-05-25 14:00:24 +00:00
Tomas Votruba
0efdb38927 Updated Rector to commit 31712a1a466b4f2f2f83986aa6710405a00b446e
31712a1a46 Refactor from PARENT_NODE in TokenGetAllToObjectRector (#3961)
2023-05-25 13:52:45 +00:00
Tomas Votruba
94c1b64b7e Updated Rector to commit 18ac565714b7b66506a901ed4787d1ffbdd0af2d
18ac565714 Refactor from PARENT_NODE in EncapsedStringsToSprintfRector (#3960)
2023-05-25 13:47:07 +00:00
Tomas Votruba
511b8597e6 Updated Rector to commit fc1fabe1a396339cbf1d9d0346f3f35bc75a33c3
fc1fabe1a3 [PostRector] Remove parent lookup on ClassRenamingPostRector (#3959)
2023-05-25 12:11:39 +00:00
Tomas Votruba
f7d28cee5d Updated Rector to commit 794bc8b5484e3eafcc91f85d443f665565c4ad44
794bc8b548 Remove PARENT_NODE from ForeachItemsAssignToEmptyArrayToAssignRector (#3958)
2023-05-25 09:21:23 +00:00
Tomas Votruba
2a39baa0c1 Updated Rector to commit 179b5cba82257fd1d310301679a1913db458809e
179b5cba82 Make ChangeGlobalVariablesToPropertiesRector add properties directly, remove Nette inject methods (#3957)
2023-05-24 18:48:59 +00:00
Tomas Votruba
e74948ca4a Updated Rector to commit 69220a7b2d424babad1a6560dc546295d4e9ebe5
69220a7b2d [Traverser] Remove beforeTraverse() in StmtKeyNodeVisitor (#3955)
2023-05-24 15:18:00 +00:00
Tomas Votruba
eb3e6c221d Updated Rector to commit ce12406878b202f9ceb1506a546e732ab1ca2716
ce12406878 Remove ChangeReadOnlyVariableWithDefaultValueToConstantRector overly complex and risky, better job for PHPStan (#3954)
2023-05-24 15:09:06 +00:00
Tomas Votruba
7117aa039a Updated Rector to commit c4b524e77a5eccd387d1ebe5b01ab3ae680049a3
c4b524e77a Remove GetAndSetToMethodCallRector, as not practical and used for single legacy job (#3953)
2023-05-24 13:47:55 +00:00
Tomas Votruba
7dcc1f5c95 Updated Rector to commit 7e9ee7afbf04ede850da1639b1b234e4e86730fb
7e9ee7afbf Refactor from PARENT_NODE in AddReturnTypeDeclarationRector (#3952)
2023-05-24 13:42:05 +00:00
Tomas Votruba
a1e2ba76d0 Updated Rector to commit 2e80e00913eacfcfded3af426cc7691a58d7f886
2e80e00913 Refactor from PARENT_NODE in AddArrayDefaultToArrayPropertyRector (#3951)
2023-05-24 13:20:51 +00:00
Tomas Votruba
06e1c20df4 Updated Rector to commit 49561b6c81580ca995de4a8a00184f6935bec7db
49561b6c81 Refactor PARENT_NODE away from ParamTypeFromStrictTypedPropertyRector (#3950)
2023-05-24 13:12:14 +00:00
Tomas Votruba
bddc5333e6 Updated Rector to commit 11e6796c0044a9217aed0c725e4b0f7c5767cb22
11e6796c00 Remove PARENT_NODE from FuncGetArgsToVariadicParamRector (#3949)
2023-05-24 13:08:24 +00:00
Tomas Votruba
26ac08e306 Updated Rector to commit fa6f1f67578dbe765fc13abaa294e0f62e66d4a8
fa6f1f6757 [CodeQuality] Remove ExplicitMethodCallOverMagicGetSetRector designed for nette smart object migration only, not useful for general projects (#3948)
2023-05-24 12:27:19 +00:00
Tomas Votruba
50ec3d44e9 Updated Rector to commit eef0e5d1f47500c9f56c5ccaa16523b11b47c8a7
eef0e5d1f4 Refactor PARENT_NODE away from JoinStringConcatRector (#3947)
2023-05-24 12:18:40 +00:00
Tomas Votruba
1f89bb9561 Updated Rector to commit c050b66f9b9812f8f7735673e651deaccded0071
c050b66f9b Refactor PARENT_NODE away from ListEachRector (#3946)
2023-05-24 10:04:51 +00:00
Tomas Votruba
13cb0fa921 Updated Rector to commit 279126145e995c4d0b39a60bd6fc5fff5799199e
279126145e Refactor PARENT_NODE away from UnsetCastRector (#3945)
2023-05-24 09:42:43 +00:00
Tomas Votruba
d7eced92e2 Updated Rector to commit c504b2f11f2b732a744ad804b3a4b5afc30e2841
c504b2f11f Refactor PARENT_NODE away from GetClassOnNullRector (#3944)
2023-05-24 09:36:58 +00:00
Tomas Votruba
a32354e5eb Updated Rector to commit 3eadce164860c1d4465e40fd5e07fb11d3aa1b99
3eadce1648 [NodeTypeResolver] Reduce parent attribute usage on PHPStanNodeScopeResolver (#3943)
2023-05-24 04:20:01 +00:00
Tomas Votruba
5f32b6989a Updated Rector to commit 62ecc9028796457cc58e717ac50c9d2cc5339b17
62ecc90287 [DeadCode] Skip assign closure bind by reference on RemoveUnusedVariableAssignRector (#3942)
2023-05-24 02:50:28 +00:00
Tomas Votruba
f45c2e9273 Updated Rector to commit a354edaa5547f63a3407f3155e696f2709f4231a
a354edaa55 [DeadCode][Php56] Handle infinite loop on RemoveUnusedVariableAssignRector+AddDefaultValueForUndefinedVariableRector take 2 (#3941)
2023-05-24 02:18:56 +00:00
Tomas Votruba
f7fccae5ba Updated Rector to commit e04e51c25d95e3b2133adca5f01f8e7e002534af
e04e51c25d [DeadCode][Php56] Handle infinite loop on RemoveUnusedVariableAssignRector+AddDefaultValueForUndefinedVariableRector (#3940)
2023-05-23 22:15:37 +00:00
Tomas Votruba
31acf8cd20 Updated Rector to commit 5cd8ac7e0ef22955fc9db7ff6ac6c34e38217d85
5cd8ac7e0e [Parser] Allow to get next of just changed node to new node by map stmt_key directly on AbstractRector for single node return (#3939)
2023-05-23 16:54:12 +00:00
Tomas Votruba
b1c6bc3189 Updated Rector to commit 3f0b5649057005937557917b39212c3a6ac4343d
3f0b564905 [Traverser] Refactor set stmt_key set 0 for Else_, ElseIf, Catch_, Finally_, removing tweak start token pos on BetterNodeFinder (#3934)
2023-05-23 16:30:10 +00:00
Tomas Votruba
a9dddd2b37 Updated Rector to commit fe7b5cd28f2333a07b22ddd955d693ebfbc44344
fe7b5cd28f Remove PARENT_NODE from AddVoidReturnTypeWhereNoReturnRector (#3938)
2023-05-23 14:21:41 +00:00
Tomas Votruba
22d4bdfac5 Updated Rector to commit d031c059eb2b7b07bbf9609b4eee0b6b895a4095
d031c059eb Remove PARENT_NODE from RemoveJustPropertyFetchRector (#3937)
2023-05-23 14:08:54 +00:00
Tomas Votruba
62ef1326dc Updated Rector to commit 8a74ea74d5501f5f850632c834878468eaa39b8e
8a74ea74d5 [DeadCode] Remove RemoveDuplicatedInstanceOfRector as hardly practical (#3936)
2023-05-23 13:59:54 +00:00
Tomas Votruba
ee06436c96 Updated Rector to commit d603b00818cfabc8aa1699b1154145e68bdb60a0
d603b00818 Remove PARENT_NODE from RemoveUnusedVariableAssignRector (#3935)
2023-05-23 13:36:55 +00:00
Tomas Votruba
ad4182dc96 Updated Rector to commit 8f3569e84677b4a29feb0af0788a0156086f921f
8f3569e846 [DeadCode][CodeQuality] Fix infinite loop on RemoveUnusedVariableAssignRector+SimplifyIfElseToTernaryRector (#3933)
2023-05-22 18:59:06 +00:00