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
0263197624
Updated Rector to commit 3f1f632c0407d2560116e919f515909a70978cff
...
3f1f632c04
[automated] Apply Coding Standard (#2204 )
2022-05-01 00:51:36 +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
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
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
e6d9de7fba
Updated Rector to commit 08bb10de6b0344d73b225913c5ba7a23a7212a11
...
08bb10de6b
[CodeQuality] Add InlineArrayReturnAssignRector (#2183 )
2022-04-28 14:55:01 +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
5147929731
Updated Rector to commit 43aa4d91f75ab9aa38f884e0a743d0bc6cda465b
...
43aa4d91f7
Add SameNamespacedTypeSpecifier (#2169 )
2022-04-26 08:13:18 +00:00
Tomas Votruba
f27b77df88
Updated Rector to commit 90dae505afec01b00c1ac154bfbf1cb05aa29e42
...
90dae505af
Remove uses nodes attribute - part #1 (#2155 )
2022-04-25 07:10:07 +00:00
Tomas Votruba
19e48f49f2
Updated Rector to commit 366c994a5c411c1c1f7d465d657ca1fe52bd90a4
...
366c994a5c
More current statement attribute clean up (#2150 )
2022-04-24 17:30:55 +00:00
Tomas Votruba
22a6a7d222
Updated Rector to commit dc7a9a85f3ee3fe7982b150db7fdf85d14164a26
...
dc7a9a85f3
[DeadCode] Skip remove variable on switch use return after break on RemoveUnusedVariableAssignRector (#2145 )
2022-04-24 07:48:38 +00:00
Tomas Votruba
a88be0b498
Updated Rector to commit 7bc7426a7d6e0ae30fa9018ca32aac48a30283d2
...
7bc7426a7d
Remove PREVIOUS_STATEMENT from SimplifyUselessVariableRector (#2127 )
2022-04-23 10:16:16 +00:00
Tomas Votruba
11667e7491
Updated Rector to commit 2f5a525e6537f6f91f35d3670b303096b476576c
...
2f5a525e65
Revert adding RemoveNamespaceRector (#2133 )
2022-04-23 10:11:50 +00:00
Tomas Votruba
af205b10a4
Updated Rector to commit 75fccc5d5838eb37ba35266848bacd13a0e5b58c
...
75fccc5d58
[Php71] Remove PropertyFetchAnalyzer::isFilledByConstructParam (#2122 )
2022-04-22 00:49:25 +00:00
Tomas Votruba
07e4ebd293
Updated Rector to commit a0c8a6be61716bc60a11280ddbf7a9078bded685
...
a0c8a6be61
add deprecations to Option constants and refer to RectorConfig (#2112 )
2022-04-21 06:47:26 +00:00
Tomas Votruba
764369f38b
Updated Rector to commit d90953d9a9ddd9a7517c78e28a5f5e417d1f99d3
...
d90953d9a9
[DX] Add RectorConfig upgrade rule to make upgrade easier :) (#2098 )
2022-04-20 07:06:09 +00:00
Tomas Votruba
2684ff98ab
Updated Rector to commit 5025d255cae32b4a240e6a52d4d151f355612809
...
5025d255ca
[Core] Rollback ParameterProvider autowire into AbstractRector (#2095 )
2022-04-19 08:10:27 +00:00
Tomas Votruba
2fb3b1c1d8
Rector 0.12.21
2022-04-18 12:12:41 +00:00
Tomas Votruba
5f10b8092d
Updated Rector to commit 46d2c00038e83165e8e9b2d773cfa5deb838c243
...
46d2c00038
[automated] Re-Generate Nodes/Rectors Documentation (#2085 )
2022-04-17 00:35:02 +00:00
Tomas Votruba
cfa1942bf9
Updated Rector to commit 73bf29c279191373755f08c2fdff45c013443c37
...
73bf29c279
[TypeDeclaration] Remove NullType when already has mixed on ParamAnnotationIncorrectNullableRector (#2081 )
2022-04-16 16:16:44 +00:00
Tomas Votruba
74a8a29f4c
Updated Rector to commit 8be11db297fa6a1eb46ee57f64c92c547f189ba7
...
8be11db297
[Naming] Skip used by trait on RenamePropertyToMatchTypeRector (#2077 )
2022-04-15 07:29:32 +00:00
Tomas Votruba
446b0a8f86
Updated Rector to commit c50992351682af007606cb020cb4cdd19b749953
...
c509923516
[Feature] Add ParamAnnotationIncorrectNullableRector for fixing incorrect null type in @param (#2069 )
2022-04-14 08:12:26 +00:00
Tomas Votruba
be26c813d6
Updated Rector to commit d0c25cc4b961d21a600cbdb425f73782e7607b0f
...
d0c25cc4b9
[TypeDeclaration] Register ReturnAnnotationIncorrectNullableRector and VarAnnotationIncorrectNullableRector to type-declaration config set (#2062 )
2022-04-13 16:41:06 +00:00
Tomas Votruba
e7029ad1f5
Updated Rector to commit 0ba8579821d5aed010e087d8a41947e67c6f904c
...
0ba8579821
[Fix] Make UnionTypesRector and ReturnAnnotationIncorrectNullableRector skip chaotic methods (#2067 )
2022-04-13 16:29:57 +00:00
Tomas Votruba
6c73983fe9
Updated Rector to commit a1ac1b6fdf09744e2b1ca427e44715f28c24d22d
...
a1ac1b6fdf
[Feature] Add ReturnAnnotationIncorrectNullableRector for fixing incorrect null type in @return (#2060 )
2022-04-12 06:58:51 +00:00
Tomas Votruba
a8fd7e13df
Updated Rector to commit afcdc65704b24784e4af474b3a0d7dbf7ed04dad
...
afcdc65704
[CodeQuality] Skip from non typed param on UseIdenticalOverEqualWithSameTypeRector (#2044 )
2022-04-11 08:32:16 +00:00
Tomas Votruba
479b159635
Updated Rector to commit f12861bda01c224330cb1c7389a49cf66b6de287
...
f12861bda0
[Php74] Move multi rules used tests to tests/Issues for TypedPropertyRector (#2051 )
2022-04-11 08:29:44 +00:00
Tomas Votruba
2c0475807b
Updated Rector to commit 60f1dadd6fda2895d2f34db1c00f40b93ad0e832
...
60f1dadd6f
Merge FollowRequireByDirRector to almost identical AbsolutizeRequireAndIncludePathRector (#2048 )
2022-04-10 20:11:02 +00:00
Tomas Votruba
931bfb66df
Updated Rector to commit 0227d24e3636af762e8f800997f0e86fcddce07e
...
0227d24e36
Merge InArrayAndArrayKeysToArrayKeyExistsRector to ArrayKeysAndInArrayToArrayKeyExistsRector with almost identical behavior (#2047 )
2022-04-10 19:50:50 +00:00
Tomas Votruba
650661e16c
Updated Rector to commit 9b8e16187827bd33c853414e20da7a3b4fa8ce89
...
9b8e161878
merge SimplifyDuplicatedTernaryRector to UnnecessaryTernaryExpressionRector, almost identical rule (#2046 )
2022-04-10 19:09:26 +00:00
Tomas Votruba
d76ed237fa
Updated Rector to commit a2ee46d16e7f0a01c7aae31eef659d7456528dcc
...
a2ee46d16e
Refactor SymplifyUselessVariableRector to avoid using PREVIOUS_NODE, use current scope instead (#2045 )
2022-04-10 18:18:46 +00:00
Tomas Votruba
c4650c159a
Updated Rector to commit 76667332cf4daf4d9ca8f081fe6389b41673b3e5
...
76667332cf
[automated] Re-Generate Nodes/Rectors Documentation (#2041 )
2022-04-10 00:31:45 +00:00
Tomas Votruba
623e329a47
Updated Rector to commit 55575af7d6ab0af6864ef33d50da7b0e07902794
...
55575af7d6
Move RemovedAndAddedFilesCollector, ParameterProvider from AbstractRector to rules that actually use it (#2038 )
2022-04-09 23:52:05 +00:00
Tomas Votruba
3a2aaafb14
Updated Rector to commit 34070663154623957151f88cf753962ec2ea782f
...
3407066315
[DX] Replace global BetterStandardPrinter from AbstractRector with autowired NodePrinterInterface for easier and specific re-use (#2036 )
2022-04-09 22:42:24 +00:00
Tomas Votruba
cd7d84363a
Updated Rector to commit 5a2682e4a5e8d0dc67e9dec74d084e3f75ea1910
...
5a2682e4a5
[TypeDeclaration] Skip in trait on TypedPropertyFromAssignsRector (#2030 )
2022-04-09 07:29:28 +00:00
Tomas Votruba
34dc036a62
Updated Rector to commit b12415b7b2f0a831127a77e17c9b56e95cd20c2a
...
b12415b7b2
[TypeDeclaration] Skip default type value different with type assigned (#2027 )
2022-04-08 08:52:55 +00:00
Tomas Votruba
f243fcd6a8
Updated Rector to commit ab8d35ab4440ff58b6bf1fbc82ea87d95cdb63f9
...
ab8d35ab44
[CodeQuality] Skip with config/ on AbsolutizeRequireAndIncludePathRector (#2024 )
2022-04-07 20:59:55 +00:00
Tomas Votruba
bc4242dccb
Updated Rector to commit 8f9abbd8b7e4ad06e5c8b188fec3a001eccb97e9
...
8f9abbd8b7
Trigger notification (#2015 )
2022-04-07 07:54:47 +00:00
Tomas Votruba
1c3a355583
Updated Rector to commit be530c5e2f56190f5fe1813ae4344cdaf3f75d7f
...
be530c5e2f
[Removing] Add RemoveNamespaceRector (#2013 )
2022-04-06 12:39:03 +00:00
Tomas Votruba
5f44698947
Updated Rector to commit 85ff4163b006fd19406655fd86a50733cf32f7af
...
85ff4163b0
[TypeDeclaration] Handle default value on not inlined assignment in __construct on TypedPropertyFromStrictConstructorRector (#2008 )
2022-04-05 08:03:44 +00:00
Tomas Votruba
7fde66200e
Updated Rector to commit 258f2d031e5b7f1fc98707e889d47e3e54d232ed
...
258f2d031e
phpstan (#2006 )
2022-04-04 05:57:16 +00:00
Tomas Votruba
7e7dc913ba
Updated Rector to commit 02bb2edef38a70e9f4012850fe4fc395dd697d0b
...
02bb2edef3
[Scoper] Clean up scoper replace namespace stub (#2002 )
2022-04-03 00:58:28 +00:00
Tomas Votruba
d991c5d3c9
Updated Rector to commit 3b40197e1ea13da1b4acd86ea3d73e567c58f6a8
...
3b40197e1e
[CodeQuality] Skip parent::class usage on GetClassToInstanceOfRector (#1994 )
2022-04-02 08:40:12 +00:00
Tomas Votruba
c5a12d271e
Updated Rector to commit 7a37df2b60816a16e8132e1e7aac1dc2b55085e5
...
7a37df2b60
[DeadCode] Add Closure support on RemoveLastReturnRector (#1993 )
2022-04-02 08:38:27 +00:00
Tomas Votruba
daae17bd4e
Updated Rector to commit 12f027c8a1e5840b888d51b12730752e6cc232a8
...
12f027c8a1
[TypeDeclaration] Handle yield and return in inner function on AddVoidReturnTypeWhereNoReturnRector (#1986 )
2022-04-01 05:37:00 +00:00
Tomas Votruba
963952f993
Updated Rector to commit eba904f406bde295fd28c8a56055787a03051186
...
eba904f406
[Php80] Skip empty default on ChangeSwitchToMatchRector (#1980 )
2022-03-31 11:04:24 +00:00
Tomas Votruba
7ede09fb94
Updated Rector to commit a375ee264111277cc227fd1e02d7303630c67e32
...
a375ee2641
[Core][EarlyReturn][Php73] Fix used along tweak between JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1979 )
2022-03-30 06:32:05 +00:00
Tomas Votruba
6f12ae7d35
Updated Rector to commit b97ce487e6a3a94df8bcefe4e5c30c302253a678
...
b97ce487e6
[CodeQuality] Handle Param by reference in target method on CallableThisArrayToAnonymousFunctionRector (#1974 )
2022-03-29 06:08:35 +00:00
Tomas Votruba
98175f2608
Updated Rector to commit b97ce487e6a3a94df8bcefe4e5c30c302253a678
...
b97ce487e6
[CodeQuality] Handle Param by reference in target method on CallableThisArrayToAnonymousFunctionRector (#1974 )
2022-03-28 22:48:45 +00:00
Tomas Votruba
2d8fcc1394
Updated Rector to commit a20320d8ca73dee0d612aa4b4b15bd52f9f5837a
...
a20320d8ca
[Php55] Move GetCalledClassToSelfClassRector + GetCalledClassToStaticClassRector from php 7.4 to 5.5 SetList (#1972 )
2022-03-28 09:17:08 +00:00