2062 Commits

Author SHA1 Message Date
Tomas Votruba
d72f56e566 Updated Rector to commit 30f2f9190987a0209e3e4aad209cce622c47595d
30f2f91909 [CodeQuality][DeadCode] Handle SimplifyUselessVariableRector+RemoveOverriddenValuesRector (#2277)
2022-05-10 12:38:09 +00:00
Tomas Votruba
ec43ca03ec Updated Rector to commit 97a33aa69494836b44ce68e0803e2568233f3e06
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 06:43:28 +00:00
Tomas Votruba
992aade98a Updated Rector to commit d89c23267c908bc128352cad5fd5763a0f413db5
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +00:00
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
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
a2cfc4196f Updated Rector to commit 0175838a0c50a16c68a7b1640de91b70f5d4628d
0175838a0c [DX] Cleanup ComplexNodeRemover (#2230)
2022-05-05 06:11:24 +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
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
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
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
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
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
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
348b2f0e8d Updated Rector to commit eaaecc39d7077b49ad2b36a93e7dd21b2f25453c
eaaecc39d7 Remove PREVIOUS_STATEMENT from StatementNodeVisitor (#2146)
2022-04-24 16:25:18 +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
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
5dd71bbea3 Updated Rector to commit 91f6470cbc909d5dc6055accd74bfe99795a72c2
91f6470cbc [DX] Update to use Method Call from RectorConfig on rector configs ( config/set dir) (#2108)
2022-04-20 18:29:39 +00:00
Tomas Votruba
e3b6e1da0f Updated Rector to commit 03fbf02ec4fb7a059659501a0f2fee760555639b
03fbf02ec4 [DX] Run UpgradeRectorConfigRector on /configs/set (#2099)
2022-04-20 07:12:09 +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
b733212c38 Updated Rector to commit 91b8573525e3b42659da455b0a98d5dfdd48e892
91b8573525 [PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags (#2014)
2022-04-15 17:36:53 +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
1cdd8d4e52 Updated Rector to commit 09499098eb819d6560b52fdb1420b6fbcd32d104
09499098eb [TypeDeclaration] Register ParamAnnotationIncorrectNullableRector to type-declaration config set (#2071)
2022-04-14 14:58:58 +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
863e58bc5e Updated Rector to commit 363f4083d584d99f32a1d76961c0b2b8be4ced0e
363f4083d5 [TypeDeclaration] Make TypedPropertyFromAssignsRector configurable with INLINE_PUBLIC (#2052)
2022-04-13 16:35:59 +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
071d7cb788 Updated Rector to commit c35cc97d381f97c602cccb86ccf1d688a869cbdd
c35cc97d38 [DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065)
2022-04-12 14:41:09 +00:00
Tomas Votruba
c983f7c3b5 Updated Rector to commit 799b77a8ed40b76e9b0b976b90297436a185c00b
799b77a8ed Fix typo in a comment (#2064)
2022-04-12 12:57:21 +00:00
Tomas Votruba
0dc28df936 Updated Rector to commit 8d92c466fdd6a002ea89b5356ca99def77998bfe
8d92c466fd [DX] Use RectorConfig in configs (#2063)
2022-04-12 11:52:08 +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
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
cd7d84363a Updated Rector to commit 5a2682e4a5e8d0dc67e9dec74d084e3f75ea1910
5a2682e4a5 [TypeDeclaration] Skip in trait on TypedPropertyFromAssignsRector (#2030)
2022-04-09 07:29:28 +00:00
Tomas Votruba
a4d2113720 Updated Rector to commit c20f2301fed6db0579b554b49543fb64c3fd6571
c20f2301fe Add RectorConfigurator for custom configuration methods and avoid conflicts with Symfony API (#2019)
2022-04-08 18:51:16 +00:00