Tomas Votruba
75c03b0c52
Updated Rector to commit 4c3bf6f92aceb7903593501619cc12f28df7e897
...
4c3bf6f92a
[Core] Make BetterNodeFinder::findFirstPrevious() consistent with findFirstNext() (#2215 )
2022-05-02 14:19:56 +00:00
Tomas Votruba
485db1ca52
Updated Rector to commit 6bb8973182991ea858e355df18f2638f2bcb5f37
...
6bb8973182
[NodeNestingScope] Remove ScopeAwareNodeFinder::findParentType (#2214 )
2022-05-02 13:55:46 +00:00
Tomas Votruba
9dacdb4abb
Updated Rector to commit 464b74c40d25352ed413383e5dec27c57e59e3b5
...
464b74c40d
[Core] Merge BetterNodeFinder findFirstPreviousOfNode() with findFirstPrevious() (#2213 )
2022-05-02 12:45:52 +00:00
Tomas Votruba
d71e817365
Updated Rector to commit 992d1efc7596864c960b3a9837ebf8ee04eb159d
...
992d1efc75
[CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector when inside of Attribute (#2212 )
2022-05-02 09:44:00 +00:00
Tomas Votruba
79315b7df2
Updated Rector to commit 1c828eea13161f5db8936cd21484dced04325449
...
1c828eea13
work around bug with autoload collistion with custom PHPStan rule test
2022-05-01 18:14:46 +00:00
Tomas Votruba
690b31768b
Rector 0.12.23
0.12.23
2022-05-01 15:50:16 +00:00
Tomas Votruba
4285b35dbb
Updated Rector to commit d5c927a40cb73a15185f59566406b75df678e1a4
...
d5c927a40c
fix comment (#2210 )
2022-05-01 15:01:32 +00:00
Tomas Votruba
3ec2143b04
Updated Rector to commit 22bdd60e18902efa9f7c6139d0d332b0538cfbe3
...
22bdd60e18
[Code] Improve BetterNodeFinder::findFirstPrevious() to only locate previous of parent if no previous of Node (#2209 )
2022-05-01 13:59:43 +00:00
Tomas Votruba
27785851ec
Updated Rector to commit 029820474caccc685a5ed330da5df3d5465b57f4
...
029820474c
[Naming] Improve UseImportsResolver to locate inlined Stmt (#2205 )
2022-05-01 07:34:56 +00:00
Tomas Votruba
4b7ca796b9
Updated Rector to commit 039181ac6c68cd6e4acf5db945b0954893a196a6
...
039181ac6c
[DeadCode] Remove RemoveCodeAfterReturnRector, already handled at RemoveUnreachableStatementRector (#2199 )
2022-05-01 05:55:37 +00:00
Tomas Votruba
0263197624
Updated Rector to commit 3f1f632c0407d2560116e919f515909a70978cff
...
3f1f632c04
[automated] Apply Coding Standard (#2204 )
2022-05-01 00:51:36 +00:00
Tomas Votruba
fe9dc1c27f
Updated Rector to commit 1ff8eea8be28f11fc52f31d6302c761936818ced
...
1ff8eea8be
[DowngradePhp80] Support match as array item in DowngradeMatchToSwitchRector (#2178 )
2022-04-30 21:35:42 +00:00
Tomas Votruba
905102ea3a
Updated Rector to commit c8b47df3e4fbd475e474528391e24d2902cd4a8f
...
c8b47df3e4
[Core] Remove loop on FilesFinder::findInDirectoriesAndFiles() (#2201 )
2022-04-30 07:28:26 +00:00
Tomas Votruba
bd675463e2
Updated Rector to commit f30523f9823bd09be4eb3ca742c55bbace846a06
...
f30523f982
[Code] Rename IfManipulator->createIfExpr() to IfManipulator->createIfStmt() (#2202 )
2022-04-30 06:43:47 +00:00
Tomas Votruba
7a30fbb500
Updated Rector to commit c8b47df3e4fbd475e474528391e24d2902cd4a8f
...
c8b47df3e4
[Core] Remove loop on FilesFinder::findInDirectoriesAndFiles() (#2201 )
2022-04-30 06:41:39 +00:00
Tomas Votruba
a36b608f99
Updated Rector to commit e782cccb55cbf416c381f8a776b19fd67bc20fdf
...
e782cccb55
[CodingStyle] Clean up spl_object_hash() check on NewlineAfterStatementRector (#2203 )
2022-04-30 06:40:36 +00:00
Tomas Votruba
934d528ddf
Updated Rector to commit 6063b59cde02c08a540ba18ab90d69ab8ba8acc7
...
6063b59cde
[Php74] Refactor MakePropertyTypedGuard to check directly on ClassReflection instead of lookup parent to get class (#2197 )
2022-04-29 15:03:28 +00:00
Tomas Votruba
d9f463102f
Updated Rector to commit dbc2638e4267c557e55bfe2372a8c91c72cec736
...
dbc2638e42
[Php74][TypeDeclaration] Document for INLINE_PUBLIC constant set to false by default allow change protected on final with extends as far as property and/or its usage only in current class (#2198 )
2022-04-29 14:53:32 +00:00
Tomas Votruba
639bf5c5d4
Updated Rector to commit 6063b59cde02c08a540ba18ab90d69ab8ba8acc7
...
6063b59cde
[Php74] Refactor MakePropertyTypedGuard to check directly on ClassReflection instead of lookup parent to get class (#2197 )
2022-04-29 14:53:17 +00:00
Tomas Votruba
db5c2a597b
Updated Rector to commit 3e685a63eeb25a453329c45378a05c71bf26090a
...
3e685a63ee
[CodingStyle] Skip readonly type property on AddArrayDefaultToArrayPropertyRector (#2196 )
2022-04-29 13:52:53 +00:00
Tomas Votruba
2619fc49bc
Updated Rector to commit b33f8a529dd287fb8534b003c007e0247497ea97
...
b33f8a529d
[DeadCode] Register array_splice into impure functions on PureFunctionDetector (#2194 )
2022-04-29 06:51:26 +00:00
Tomas Votruba
0ab11406b4
Updated Rector to commit 4d7c087805e6732287c6f07dbb5b9f94d9fef7be
...
4d7c087805
[DeadCode] Improve RemoveUnreachableStatementRector performance by return after array_splice early (#2193 )
2022-04-29 06:42:11 +00:00
Tomas Votruba
af9fe53cfa
Updated Rector to commit c411410fa510c0e5f4ca39a8acb44b726f0536fc
...
c411410fa5
[Core] Move parent instanceof Node check on BetterNodeFinder::findParentType() inside do { } while condition (#2190 )
2022-04-28 22:02:20 +00:00
Tomas Votruba
2539f83cf3
Updated Rector to commit 8332d8cc107740ef1e5e51567f6869e2cca2ea6e
...
8332d8cc10
remove unused unwrapExpression(), use direct instanceof compare instead (#2186 )
2022-04-28 21:56:13 +00:00
Tomas Votruba
954555d0df
Updated Rector to commit c411410fa510c0e5f4ca39a8acb44b726f0536fc
...
c411410fa5
[Core] Move parent instanceof Node check on BetterNodeFinder::findParentType() inside do { } while condition (#2190 )
2022-04-28 21:55:05 +00:00
Tomas Votruba
fc5bf77719
Updated Rector to commit fb722fc4ce17229b712f0e6c5e6a96f9001cd864
...
fb722fc4ce
[Core] Direct anonymous class check on BetterNodeFinder::findFirstNonAnonymousClass() (#2191 )
2022-04-28 21:52:06 +00:00
Tomas Votruba
23db732224
Updated Rector to commit b4a1edfb887a550bc1b437d1a5d85167f7157a17
...
b4a1edfb88
[DeadCode] Add empty and multi stmts support on RemoveAlwaysTrueIfConditionRector (#2192 )
2022-04-28 21:50:14 +00:00
Tomas Votruba
19ffa21a89
Updated Rector to commit a218dda0596a77a1cec8edbdbbfd4e4f8af02603
...
a218dda059
[DX] Move PhpVersionProvider from AbstractRector to particular services (#2189 )
2022-04-28 20:11:07 +00:00
Tomas Votruba
7010e0938e
Updated Rector to commit 680e8a1e3d5f187e8ea3999f8f78ec35b601da55
...
680e8a1e3d
[Core] Add , , and parameters to RectorConfig::parallel() method (#2188 )
2022-04-28 18:36:02 +00:00
Tomas Votruba
3d30a34d24
Updated Rector to commit b055a8892749ed11ebf77d5ede4833093846471a
...
b055a88927
Add RectorConfigProvider to ask for configuration behave for 3rd party packages (#2187 )
2022-04-28 17:21:22 +00:00
Tomas Votruba
0b4c6251c0
Updated Rector to commit b061dcdcf347e07924a1379afda752c15ade36ec
...
b061dcdcf3
[scoped] skip parameter provider class
2022-04-28 16:26:19 +00:00
Tomas Votruba
393ac88168
Updated Rector to commit de1d8592a94de6b3ebf5d84d66f6a03340e77500
...
de1d8592a9
Avoid scoping parameter provider to re-use, remove it from AbstractRector to ease the dependency tree (#2185 )
2022-04-28 16:24:51 +00:00
Tomas Votruba
52322b58c1
Updated Rector to commit 8272c42bfaffbeb7f5154d95a022950140164533
...
8272c42bfa
fix cs
2022-04-28 16:24:38 +00:00
Tomas Votruba
5a33df6c4f
Updated Rector to commit 93030d3ef7bdf94769d3ea5c8b7d15fe9fb99658
...
93030d3ef7
skip empty dim fetch (#2184 )
2022-04-28 15:28:06 +00:00
Tomas Votruba
e6d9de7fba
Updated Rector to commit 08bb10de6b0344d73b225913c5ba7a23a7212a11
...
08bb10de6b
[CodeQuality] Add InlineArrayReturnAssignRector (#2183 )
2022-04-28 14:55:01 +00:00
Tomas Votruba
0e76f19491
Rector 0.12.22
0.12.22
2022-04-27 22:44:46 +00:00
Tomas Votruba
3912bd3674
Updated Rector to commit aa89fde52b66924e3b52ab7a106396c2b2aeb850
...
aa89fde52b
link the token
2022-04-27 22:40:38 +00:00
Tomas Votruba
152dec0c68
Updated Rector to commit 0f83ac3c878728be3118805933959e99b0939716
...
0f83ac3c87
[Doctrine][Nette][TypeDeclaration] Handle add __construct with no Scope on InitializeDefaultEntityCollectionRector+RenderMethodParamToTypeDeclarationRector (#2180 )
2022-04-27 14:52:56 +00:00
Tomas Votruba
33e9a631fe
Updated Rector to commit 80df62821f4226577ad7501149ab9573f09db4c7
...
80df62821f
[Doc] Document deprecated USE_NODES and CURRENT_STATEMENT constant to use existing method call when needed (#2181 )
2022-04-27 14:50:11 +00:00
Tomas Votruba
2e00657da7
Updated Rector to commit 4fea4e23b905ca07fc5b6a2a94076804ab26c780
...
4fea4e23b9
[TypeDeclaration] Skip return type defined Closure on ReturnTypeDeclarationRector (#2179 )
2022-04-27 13:37:37 +00:00
Tomas Votruba
127b77fdf0
Updated Rector to commit ae45be1cf3ef4103d529423fcd4d41f2223ddb9a
...
ae45be1cf3
[DX] Add note warning about using old config (#2174 )
2022-04-26 23:02:07 +00:00
Tomas Votruba
e0d9ac9eb0
Updated Rector to commit 7fb8254c2383a96e83040b4c3ce9ee330a0a8363
...
7fb8254c23
Adds test for DowngradeMatchToSwitchRector match having true subject expression (#2176 )
2022-04-26 22:43:42 +00:00
Tomas Votruba
e5c8dfa7cf
Updated Rector to commit c5c620aa1a3f68745dc7a2cc03bc3d1f32c266b1
...
c5c620aa1a
[DowngradePhp80] Add Static Call Support on DowngradeMatchToSwitchRector (#2175 )
2022-04-26 20:58:13 +00:00
Tomas Votruba
523a714661
Updated Rector to commit 6680bd84128f8fc53fb0630b8d81700e93a5b1d9
...
6680bd8412
DowngradeMatchToSwitchRector adds Method and Function call support (#2173 )
2022-04-26 16:47:55 +00:00
Tomas Votruba
c7ca691738
Updated Rector to commit ba29e3fd5f1584fe54d9b1edbe78b15e592a1791
...
ba29e3fd5f
Re-use name scope (#2171 )
2022-04-26 13:03:56 +00:00
Tomas Votruba
63f8af346b
Updated Rector to commit 588470337e577595a90715dc456539804fd68674
...
588470337e
Failing Tests for DowngradeMatchToSwitchRector (#2114 )
2022-04-26 08:17:16 +00:00
Tomas Votruba
5147929731
Updated Rector to commit 43aa4d91f75ab9aa38f884e0a743d0bc6cda465b
...
43aa4d91f7
Add SameNamespacedTypeSpecifier (#2169 )
2022-04-26 08:13:18 +00:00
Tomas Votruba
99b901c127
Updated Rector to commit 148dda778c7296a81b2935855b83def5c3385cbf
...
148dda778c
Narrow to FQN (#2168 )
2022-04-25 23:28:04 +00:00
Tomas Votruba
a71b4168c5
Updated Rector to commit 38e1f8a45082086aca4b26b811a1f467f6349f6c
...
38e1f8a450
Remove NamespaceNodeVisitor (#2167 )
2022-04-25 22:12:26 +00:00
Tomas Votruba
6b472ba52b
Updated Rector to commit 88cfff17bad60a6538d5d246389a4641b95347f8
...
88cfff17ba
[TypeDeclaration] Use ParentPropertyLookupGuard on TypedPropertyFromStrictGetterMethodReturnTypeRector (#2166 )
2022-04-25 19:20:08 +00:00