Tomas Votruba
24318b9a19
Updated Rector to commit 26cad67b1ccfc7051ed0d311e20619b71a995e09
...
26cad67b1c
[CodingStyle] Clean up getParents() call on MakeInheritedMethodVisibilitySameAsParentRector (#2246 )
2022-05-07 00:18:08 +00:00
Tomas Votruba
010ad20f65
Updated Rector to commit 6d814fb385195c2f0099b9816ceeebb5879fc1e6
...
6d814fb385
Refactor DowngradePipeToMultiCatchExceptionRector to work directly with stmts (#2245 )
2022-05-06 22:55:21 +00:00
Tomas Votruba
6a2c9a5de2
Updated Rector to commit 176d6d7e2a2c5b417f1821dace72d3867e4cecdc
...
176d6d7e2a
Refactor ChangeAndIfToEarlyReturnRector to work with stmts (#2244 )
2022-05-06 22:31:31 +00:00
Tomas Votruba
7885ef1835
Updated Rector to commit 712237ec22769c8b256cd9e8356e8dc99bdcb819
...
712237ec22
Error message improvements (#2242 )
2022-05-06 07:42:42 +00:00
Tomas Votruba
a548c62cde
Updated Rector to commit ede1106a69f3ef7aa665fcfada9906e56029bd28
...
ede1106a69
[DX] Improve DowngradeCatchThrowableRector to return nodes directly (#2241 )
2022-05-06 07:17:49 +00:00
Tomas Votruba
c3266af645
Updated Rector to commit 74b404e1d1f0d11d09c16eb542c951bc9d8078df
...
74b404e1d1
[DX] Change SplitListAssignToSeparateLineRector to direct return (#2240 )
2022-05-05 18:07:01 +00:00
Tomas Votruba
d59bf7cd51
Updated Rector to commit 561e3963e101e8b09bfe0124c159129e9b25d73e
...
561e3963e1
Use refactorWithScope() in MakeInheritedMethodVisibilitySameAsParentRector (#2236 )
2022-05-05 17:42:23 +00:00
Tomas Votruba
7242caf99b
Updated Rector to commit 7f5acb613bb4dc72aef2a8aef14fb16d8281c4e5
...
7f5acb613b
[Core] Add BetterNodeFinder::findFirstInlinedPrevious() (#2238 )
2022-05-05 13:58:33 +00:00
Tomas Votruba
29c4bbb97a
Updated Rector to commit aa6524e8423b91079f941d8225e830b964c0a8d3
...
aa6524e842
[Core] Improve PropertyFetchAnalyzer::PropertyFetchAnalyzer() to check against Variable and Name (#2237 )
2022-05-05 10:19:49 +00:00
Tomas Votruba
4b66436386
Updated Rector to commit d8c523625c1f22f1924cf5767002e1e282d2e88e
...
d8c523625c
Various property + class context improvements (#2234 )
2022-05-05 09:39:03 +00:00
Tomas Votruba
b674e4a170
Updated Rector to commit 4701b70f5a384cd39fc80b1f572a46214fde4dc0
...
4701b70f5a
Clean up ComplexNodeRemover::resolvePropertyFetchFromDimFetch() (#2235 )
2022-05-05 09:37:41 +00:00
Tomas Votruba
07a94318c5
Updated Rector to commit a19b983ce9cd70e1230501704b51e604e4b9179b
...
a19b983ce9
[DeadCode] Add StaticPropertyFetch removal support on RemoveUnusedPrivatePropertyRector (#2233 )
2022-05-05 08:58:28 +00:00
Tomas Votruba
427d04477e
Updated Rector to commit 3184d554770adfa8c32f11518ab8bee06b3ef2b5
...
3184d55477
[DX] Use direct return of multi nodes instead of 2 addNode before/after node (#2232 )
2022-05-05 08:32:20 +00:00
Tomas Votruba
2c62b5ccdc
Updated Rector to commit dd178deaa62be3605fa13f666592f17fa09a66f4
...
dd178deaa6
[DeadCode] Do not remove unused param in middle on RemoveUnusedConstructorParamRector (#2231 )
2022-05-05 07:46:45 +00:00
Tomas Votruba
a2cfc4196f
Updated Rector to commit 0175838a0c50a16c68a7b1640de91b70f5d4628d
...
0175838a0c
[DX] Cleanup ComplexNodeRemover (#2230 )
2022-05-05 06:11:24 +00:00
Tomas Votruba
975a637463
Updated Rector to commit 2d167364142aea78585903571977f181a4d60c81
...
2d16736414
[DX] Remove poorly designed NodeToReplacePostRector, return changed nodes directly in the current rule (#2229 )
2022-05-04 22:24:14 +00:00
Tomas Votruba
ebc3a0684d
Updated Rector to commit 767e7692e18836cdf8c36e47c4bd2b6f5647e476
...
767e7692e1
[Experimental] Add refactorWithScope() method to get typed Scope easily and required (#2227 )
2022-05-04 15:20:50 +00:00
Tomas Votruba
770e1b0adc
Updated Rector to commit 267d27bcd7cf2d81a86c70ab2713dcd9ad8fb60d
...
267d27bcd7
[Test] Remove PHPStanStubLoader::loadStubs() and require constants in tests bootstrap (#2228 )
2022-05-04 13:49:45 +00:00
Tomas Votruba
476869ebf4
Updated Rector to commit 129ce269d3ca0d762b7481d5e1ac47129dac9c74
...
129ce269d3
[Core] Use ReflectionResolver to get ClassReflection when possible (#2226 )
2022-05-04 10:46:11 +00:00
Tomas Votruba
b11fa96b09
Updated Rector to commit 6327904617df939cbc81793cdbaab5cc726d3688
...
6327904617
[CodingStyle] Skip override parent method on UnSpreadOperatorRector (#2223 )
2022-05-04 07:09:23 +00:00
Tomas Votruba
1427924159
Updated Rector to commit 04914020bd0a641f23a36d3583b877d33cf506c3
...
04914020bd
[CodingStyle] Skip escaped quote on ConsistentPregDelimiterRector (#2225 )
2022-05-04 06:58:31 +00:00
Tomas Votruba
f9a908d40c
Updated Rector to commit e978256f4d98b6c8bc8ab55cd3c590420a1d4216
...
e978256f4d
[TypeDeclaration] Skip array key with null coalescing return mixed on ReturnAnnotationIncorrectNullableRector (#2224 )
2022-05-04 06:58:03 +00:00
Tomas Votruba
b4902f9b94
Updated Rector to commit 6327904617df939cbc81793cdbaab5cc726d3688
...
6327904617
[CodingStyle] Skip override parent method on UnSpreadOperatorRector (#2223 )
2022-05-04 06:57:15 +00:00
Tomas Votruba
128aa6dc82
Updated Rector to commit 7209b23341772852650aa3fecce092433a41110c
...
7209b23341
[Php73] Skip both reset and key assigned on ArrayKeyFirstLastRector (#2219 )
2022-05-04 00:06:05 +00:00
Tomas Votruba
467291c58c
Updated Rector to commit 0052951dd02422f21f89dd081e434f89bfc954a2
...
0052951dd0
Bump Symplify and PHPStan rules version (#2218 )
2022-05-03 15:01:15 +00:00
Tomas Votruba
80c29bac02
Updated Rector to commit c4e1ee2b3ef1dc9f9f93e003237bdad0fe39f13a
...
c4e1ee2b3e
Added new functions to NullToStrictStringFuncCallArgRector (#2217 )
2022-05-03 12:09:48 +00:00
Tomas Votruba
a7f83696f3
Updated Rector to commit f1dba8825b20b54999abb8579e5f4f4843c7c70e
...
f1dba8825b
Remove Php71 comment reference on config-downgrade (#2216 )
2022-05-02 22:39:25 +00:00
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