3480 Commits

Author SHA1 Message Date
Tomas Votruba
c78996f799 Updated Rector to commit 2447c3155bbb73b19d05710c02dd8414d4172009
2447c3155b Cleanup (#2159)
2022-04-25 08:28:43 +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
0e0fc76d65 Updated Rector to commit 07ab4e0325606637d002f9f07e460c318416dcbb
07ab4e0325 [Php74] Allow change protected property of final class when property only in current class on TypedPropertyRector (#2153)
2022-04-24 19:57:12 +00:00
Tomas Votruba
7466aca164 Updated Rector to commit c3adc6b0435f9409b0d5ef08091002c50b9b2a76
c3adc6b043 [Privatization] Add ParentPropertyLookupGuard service (#2152)
2022-04-24 19:43:23 +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
b739fa46b8 Updated Rector to commit 0954611a38d72d74dd0c1e305019906fc05dc5f4
0954611a38 Remove CURRENT_STATEMENT where not needed (#2149)
2022-04-24 17:00:46 +00:00
Tomas Votruba
671dde4094 Updated Rector to commit 1084889b30d96eb1545be3758fd2e2464ca4cece
1084889b30 [Php80] Skip different type cases cond on ChangeSwitchToMatchRector (#2147)
2022-04-24 15:27:24 +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
54f1bf6955 Updated Rector to commit 55807fad4fb4a11650c87986aed5aa44e56c60bf
55807fad4f [cs] clean up use statement (#2144)
2022-04-23 22:44:46 +00:00
Tomas Votruba
44cb73b377 Updated Rector to commit e4858d9a60de38ee3420f4b7aa3468b5124e0a4b
e4858d9a60 [Php80] Handle named type on JMS\AccessType on AnnotationToAttributeRector (#2141)
2022-04-23 22:28:13 +00:00
Tomas Votruba
ae847cdf27 Updated Rector to commit eb1090c934e956fa07be0b4df8072b258ccec0c0
eb1090c934 [DeadCode] Add Break_, Continue_, Goto_ support on RemoveUnreachableStatementRector (#2142)
2022-04-23 22:22:46 +00:00
Tomas Votruba
20c7d5ad3a Updated Rector to commit 31656ed51d169ce3af067f3b46f135ea043525d6
31656ed51d [NodeCollector] Remove CurrentStmtResolver service (#2143)
2022-04-23 22:21:52 +00:00
Tomas Votruba
45aa9e4e71 Updated Rector to commit 469f0eed632bd7db26bcfe63a9545f9c5396e66c
469f0eed63 [DeadCode] Register more Stmt Nodes on RemoveUnreachableStatementRector (#2140)
2022-04-23 19:00:01 +00:00
Tomas Votruba
eb4cd2911f Updated Rector to commit 365b289eb7655248532048be8dcce9882908cb28
365b289eb7 [DeadCode] Skip Try { finally } assign and loop stmts on RemoveUnreachableStatementRector (#2139)
2022-04-23 13:47:51 +00:00
Tomas Votruba
6f99610f8c Updated Rector to commit f80d476d66901684e86c5b3599e6d448117ba478
f80d476d66 [DeadCode] Refactor RemoveUnreachableStatementRector to check previuos stmt against Throw_,Exit_,Return_,TryCatch_ (#2137)
2022-04-23 13:06:33 +00:00
Tomas Votruba
81086d15be Updated Rector to commit e7caae2a5ca85ac9d909f4d66bbad361d72c1482
e7caae2a5c Improve BetterNodeFinder::findFirstPrevious() to work without statements (#2136)
2022-04-23 12:56:55 +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
52972e6b76 Updated Rector to commit dd2b376263bb6ed3c4236078c838e36d18531cae
dd2b376263 [TypeDeclaration] Skip return property not exists by ClassReflection on ReturnTypeDeclarationRector (#2134)
2022-04-23 10:14:27 +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
2714e07134 Updated Rector to commit cd3f45d8e2805c116b0c49c75cef62b78c2b8b43
cd3f45d8e2 [TypeDeclaration][Strict] Skip different type assigned different method on TypedPropertyFromStrictConstructorRector (#2128)
2022-04-22 23:13:44 +00:00
Tomas Votruba
2a14888af7 Updated Rector to commit e5c94a20cf618a23b882329860a441a0d3eb4040
e5c94a20cf [DeadCode] Handle skipped RemoveUnreachableStatementRector on MultiDirnameRector (#2129)
2022-04-22 23:06:34 +00:00
Tomas Votruba
56baeb9471 Updated Rector to commit b192ec7ca89cc9c0e4813e4823d49fe595d3a6a7
b192ec7ca8 simplify RemoveDoubleAssignRector to use less connecting nodes (#2126)
2022-04-22 15:58:01 +00:00
Tomas Votruba
8cf0a1bf3a Updated Rector to commit 5cc41ac787fcfcc7a10dbee7645207d839e75982
5cc41ac787 Simplify RemoveUnreachableStatementRector to use less connecting nodes (#2125)
2022-04-22 15:22:45 +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
90aca384f1 Updated Rector to commit aa345bc51d32ff84a09ea791e2f59cfd2d9b75b9
aa345bc51d [Php74] Add class-string to string support on TypedPropertyRector (#2120)
2022-04-21 22:59:51 +00:00
Tomas Votruba
8166f3df0d Updated Rector to commit 465b3f61d68b844f545586ec5e8bb541efa4841c
465b3f61d6 [DogFood] Skip call(configure) on UpgradeRectorConfigRector (#2119)
2022-04-21 22:49:02 +00:00
Tomas Votruba
4036792902 Updated Rector to commit d7d7c463ecf679bceebc59778f4a8c8b9f479dfc
d7d7c463ec [TypeDeclaration] Skip union param type on AddArrayParamDocTypeRector (#2117)
2022-04-21 18:46:27 +00:00
Tomas Votruba
05dcaf8290 Updated Rector to commit ad04b5931b1f97cb816774459b80d983262bd222
ad04b5931b [DogFood] Skip services variable used as service load/defaults definition on UpgradeRectorConfigRector (#2115)
2022-04-21 17:32:13 +00:00
Tomas Votruba
c744400fb0 Updated Rector to commit 5f5b43add269a15fc2fe008492b1ce14f8016417
5f5b43add2 [DogFood] Failing fixture do not flip phpversion feature set after import (#2111)
2022-04-21 09:46:29 +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
2a9a3a7f8f Updated Rector to commit 568a69b8c0d8c215cdfda310ed89245cae35631a
568a69b8c0 Add paths() and skip() to UpgradeRectorConfigRector (#2109)
2022-04-20 19:05:00 +00:00
Tomas Votruba
d4e4ff8300 Updated Rector to commit 61fd4d83082a78b49a7076daa75ecea7e3fd65f7
61fd4d8308 [config] Add import bare support (#2103)
2022-04-20 10:02:04 +00:00
Tomas Votruba
5a03282dce Updated Rector to commit 398608747315e1d7bc96571db73903b140d22ff3
3986087473 [DX] Extract ContainerConfiguratorImportsMerger (#2101)
2022-04-20 08:09:40 +00:00
Tomas Votruba
c32676bea1 Updated Rector to commit de95ab646f579704328895648de12ca68813c16d
de95ab646f [DX] Add sets() to RectorConfig upgrade rule (#2100)
2022-04-20 07:44:00 +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
614136ae37 Updated Rector to commit b92465d5c0563b8d2ae7ca95aed043d520560309
b92465d5c0 fixes #7118 (#2097)
2022-04-19 22:20:46 +00:00
Tomas Votruba
53645dcaed Updated Rector to commit b4efb43c044d51363b23248e51ea6fae20e17afa
b4efb43c04 [Fix][InlineSimplePropertyAnnotationRector] Add test case and minor fix (#2096)
2022-04-19 11:59:29 +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
18190b5ece Updated Rector to commit 8e51a6c3d1a22b5464c790d446d869488e94ec61
8e51a6c3d1 [Php74] Skip array type on trait on RestoreDefaultNullToNullableTypePropertyRector (#2094)
2022-04-18 22:25:27 +00:00
Tomas Votruba
7dab0762cc Updated Rector to commit 961f67cc0a6973b07ba692129de4ae22e3b5404b
961f67cc0a [Php80] Skip stringable on Anonymous class on StringableForToStringRector (#2092)
2022-04-18 17:44:13 +00:00
Tomas Votruba
2fb3b1c1d8 Rector 0.12.21 2022-04-18 12:12:41 +00:00
Tomas Votruba
5d5bb830df Updated Rector to commit c7ff21825ec2c480bba1f09f09d2d650b37de5b4
c7ff21825e [Php81] Skip multiple assign on __construct on ReadOnlyPropertyRector (#2088)
2022-04-17 15:25:10 +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
99ecd74e28 Updated Rector to commit f0cad1a722a091bbc309345d92c2617ced64a130
f0cad1a722 [TypeDeclaration] Clean up remove NullType when mixed type exists process (#2083)
2022-04-16 17:33:46 +00:00
Tomas Votruba
840e8ecb40 Updated Rector to commit 6cb95c1be3852a2d3295837320335104f0a24438
6cb95c1be3 Update rector_rules_overview.md (#2082)
2022-04-16 16:37:14 +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
1fd50e0517 Updated Rector to commit c7e4530a8294d450f0aab4ca6fe8c780af07fc64
c7e4530a82 [Naming][TypeDeclaration] Handle RenameVariableToMatchMethodCallReturnTypeRector + AddVoidReturnTypeWhereNoReturnRector (#2080)
2022-04-15 17:12:35 +00:00
Tomas Votruba
5efb6c74b3 Updated Rector to commit 269858a92cbfd9aa6db06ba5f3ac1152c47bf004
269858a92c [Php56] Skip with coalesce assign on AddDefaultValueForUndefinedVariableRector (#2078)
2022-04-15 11:39:05 +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