4887 Commits

Author SHA1 Message Date
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
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
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
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
e6d9de7fba Updated Rector to commit 08bb10de6b0344d73b225913c5ba7a23a7212a11
08bb10de6b [CodeQuality] Add InlineArrayReturnAssignRector (#2183)
2022-04-28 14:55:01 +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
c7ca691738 Updated Rector to commit ba29e3fd5f1584fe54d9b1edbe78b15e592a1791
ba29e3fd5f Re-use name scope (#2171)
2022-04-26 13:03:56 +00:00
Tomas Votruba
5147929731 Updated Rector to commit 43aa4d91f75ab9aa38f884e0a743d0bc6cda465b
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba
a71b4168c5 Updated Rector to commit 38e1f8a45082086aca4b26b811a1f467f6349f6c
38e1f8a450 Remove NamespaceNodeVisitor (#2167)
2022-04-25 22:12:26 +00:00
Tomas Votruba
e3ae598c02 Updated Rector to commit f7b095495b98f954e5adb50b210cb4954193b6ab
f7b095495b Remove last USE_NODE (#2165)
2022-04-25 16:12:00 +00:00
Tomas Votruba
18c61e765a Updated Rector to commit 25e6b17a862a90d6f67baaba3f164a31d039d3d7
25e6b17a86 Remove USE_NODES from ObjectTypeSpecifier::matchShortenedObjectType() (#2164)
2022-04-25 10:15:48 +00:00
Tomas Votruba
8b3f1ca9f2 Updated Rector to commit bc39917aba4cfe551ab9d31333f594f13f27888a
bc39917aba Remove USE_NODES from UseNodesToAddCollector (#2162)
2022-04-25 08:57:07 +00:00
Tomas Votruba
6a025e705f Updated Rector to commit 893c948a62a7baed48158fa3058ee82c8cee1bde
893c948a62 Remove USE_NODES from NameScopeFactory (#2161)
2022-04-25 08:36:39 +00:00
Tomas Votruba
c78996f799 Updated Rector to commit 2447c3155bbb73b19d05710c02dd8414d4172009
2447c3155b Cleanup (#2159)
2022-04-25 08:28:43 +00:00
Tomas Votruba
c6a4383d80 Updated Rector to commit 69de62a1d8075c7a0c416e32e1e816ec94787dee
69de62a1d8 disable StatementNodeVisitor (#2154)
2022-04-25 08:05:28 +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
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
20c7d5ad3a Updated Rector to commit 31656ed51d169ce3af067f3b46f135ea043525d6
31656ed51d [NodeCollector] Remove CurrentStmtResolver service (#2143)
2022-04-23 22:21:52 +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
11667e7491 Updated Rector to commit 2f5a525e6537f6f91f35d3670b303096b476576c
2f5a525e65 Revert adding RemoveNamespaceRector (#2133)
2022-04-23 10:11:50 +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
7e10a637a2 Updated Rector to commit 3ddac18c51a77b07caae35d538b88bad0004166a
3ddac18c51 [Php74] Add class-string not filled by __construct to be to nullable string on TypedPropertyRector (#2123)
2022-04-22 14:28:27 +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
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
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
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
72a0a9f05b Updated Rector to commit 25616949cb3da22225196fa7f3ee78dc2b1298c8
25616949cb make resolveParentClassMethods() for re-use in nette package
2022-04-18 12:18:09 +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
c821b3294b Updated Rector to commit 92c2fc1035a6d03fd2b3e3fe7f7d8571ba26b69a
92c2fc1035 [Php74] Handle standalone false on php >=8 feature enabled on TypedPropertyRector (#2084)
2022-04-16 19:55:39 +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
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
66a823a2fb Updated Rector to commit 51e89c3f32c7f588dfd82b4b914f0ba9518adb0f
51e89c3f32 [docs] Improve first-time contributors docs (#2061)
2022-04-12 08:58: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