Commit Graph

4030 Commits

Author SHA1 Message Date
Tomas Votruba
bfd8f1a220 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-05-31 13:27:13 +00:00
Tomas Votruba
b655a25951 Updated Rector to commit 81e8c74b0ea2a107db681ee21c13925837b84abc
81e8c74b0e [NodeManipulator] Use ReflectionResolver instead of BetterNodeFinder parent lookup on ClassMethodManipulator (#4035)
2023-05-31 13:19:19 +00:00
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
c8207cff85 Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-31 08:33:32 +00:00
Tomas Votruba
f7d04bd361 Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-31 02:38:09 +00:00
Tomas Votruba
089eca6986 Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-31 00:18:13 +00:00
Tomas Votruba
3342a558a3 Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-30 20:19:22 +00:00
Tomas Votruba
17e8e0f374 Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-30 15:53:28 +00:00
Tomas Votruba
9335e75d7b Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-30 15:40:10 +00:00
Tomas Votruba
f9be2b1c61 Updated Rector to commit b84fe9524aa20e200f743f13f6925d93225c6280
b84fe9524a [Php56] Reduce origNode check on UndefinedVariableResolver (#4033)
2023-05-30 15:24:14 +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
95843bd31e Updated Rector to commit 73c1ac45e78b2e8b091f7a0cbcc0b54b9b24bb42
73c1ac45e7 Make use of key to remove property (#4032)
2023-05-30 14:29:35 +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
977bb7a99e Updated Rector to commit 46d2aacd80260f0d6ff7ed0454100be3ed279b63
46d2aacd80 [Core] Ensure define  before refactor() called to avoid changed during refactor (#4031)
2023-05-30 14:11:13 +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
6f79fcfb1e Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 08:41:10 +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
84d2957596 Updated Rector to commit 3dfe7f9c11dc0ea75ba73da6f4639c1718843dc2
3dfe7f9c11 [Test] Enable displayDetailsOnTestsThatTriggerWarnings to true in tests to show warning (#4020)
2023-05-29 14:21:02 +00:00
Tomas Votruba
9f963a664a Updated Rector to commit 3dfe7f9c11dc0ea75ba73da6f4639c1718843dc2
3dfe7f9c11 [Test] Enable displayDetailsOnTestsThatTriggerWarnings to true in tests to show warning (#4020)
2023-05-29 14:08:28 +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
4c71bd6171 Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 13:42:03 +00:00
Tomas Votruba
8925a6a4f0 Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 13:28:38 +00:00
Tomas Votruba
e4e5a9d57d Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:58:14 +00:00
Tomas Votruba
0610c13b0a Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:45:31 +00:00
Tomas Votruba
694cd80b82 Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:40:47 +00:00
Tomas Votruba
2f8ba99efb Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
4ea7d0f477 [DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018)
2023-05-29 12:32:37 +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