Tomas Votruba
f8c73cea6c
Updated Rector to commit a326b8504d37093f639245da0b283f588f954890
...
a326b8504d
remove array spread from coding style, as often part of personal preference
2024-01-04 22:10:51 +00:00
Tomas Votruba
35d4ae5ad9
Updated Rector to commit d886cffeded58fb4b5a55182f4b98b796545c18e
...
d886cffede
[build] Try removing scope aliases
2024-01-02 02:50:51 +00:00
Tomas Votruba
7e7a2f067a
Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
...
476cfb00cb
disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
7ba32aac1f
Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
...
e12c73eb33
[psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407 )
2024-01-01 00:20:45 +00:00
Tomas Votruba
38b33113ca
Updated Rector to commit 109d734969100cf97bdc820e7c369c90e9e4016a
...
109d734969
[Php83] Add CombineHostPortLdapUriRector (#5397 )
2023-12-27 22:04:09 +00:00
Tomas Votruba
95ed962a15
Updated Rector to commit 6646d23fe0cea4b4a871ca1931e33f0cb2a574c7
...
6646d23fe0
[CodingStyle] Add RemoveUselessAliasInUseStatementRector (#5394 )
2023-12-26 17:40:03 +00:00
Tomas Votruba
e216058787
Updated Rector to commit f8c3a2e313d5eee15c2aca53177ccf377042a65c
...
f8c3a2e313
Remove json throw on error rule from PHP 7.3 set, as changed behavior and must be applied on purpose (#5349 )
2023-12-10 13:35:43 +00:00
Tomas Votruba
5fbad6d865
Updated Rector to commit 6a63c6376124c9604097d85aa4cc77c190bdacd2
...
6a63c63761
[PHP 7.4] Skip typed properties in the set, as standalone set now available (#5342 )
2023-12-08 16:11:44 +00:00
Tomas Votruba
13aada9fdc
Updated Rector to commit b1a50d4c785b9fc1498bcd843e58635350e10114
...
b1a50d4c78
[TypeDeclaration] Add MergeDateTimePropertyTypeDeclarationRector (#5327 )
2023-12-05 14:01:18 +00:00
Tomas Votruba
7124cd0a2c
Updated Rector to commit 055ab62e3fa14a1aaccd2a5e7f2a9fd354fbd600
...
055ab62e3f
Fix annotation to attribute parsing string (#5317 )
2023-12-03 17:40:26 +00:00
Tomas Votruba
9d01b5b403
Updated Rector to commit d9c5d8f09bfd68e7496c07c23ddac03447cfbb32
...
d9c5d8f09b
[Strict] Allow check '0' empty zero on BooleanInTernaryOperatorRuleFixerRector on string type (#5297 )
2023-12-03 15:49:51 +00:00
Tomas Votruba
f9c1f58ffc
Updated Rector to commit 52b665436c0f2161619b265caa3f2a65be5604dc
...
52b665436c
[PHP83] Implements a rule to add types to class constants (#5290 )
2023-12-03 14:59:47 +00:00
Tomas Votruba
1bcbe800e1
Updated Rector to commit ea5b331e7ea67a03b4c3f162c566a8dbfd74d55d
...
ea5b331e7e
[CodeQuality] Add RemoveUselessIsObjectCheckRector (#5316 )
2023-12-03 12:25:03 +00:00
Tomas Votruba
c5421dfd82
Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
...
e48234e239
Skip RenameMethodRector in never (#5305 )
2023-12-01 09:49:11 +00:00
Tomas Votruba
f8dc5ef396
Updated Rector to commit 84bcfebdf7e9f522c8f9f9e97814c82d3d5d3315
...
84bcfebdf7
[CodingStyle] Remove AddArrayDefaultToArrayPropertyRector as based on docblock types and public contract, better use type declaration set instad (#5298 )
2023-11-28 20:19:53 +00:00
Tomas Votruba
7a2348073c
Updated Rector to commit 118fbde3b1ccc3685c55cd2704bc971d2d49ef41
...
118fbde3b1
[TypeDeclaration] Remove ParamTypeFromStrictTypedPropertyRector as seems similar feature with AddParamTypeFromPropertyTypeRector (#5293 )
2023-11-28 10:10:36 +00:00
Tomas Votruba
d1c1d175ce
Updated Rector to commit a9797fdc1ca6b8d7080fb1299b44fcb94ecd5936
...
a9797fdc1c
[TypeDeclaration] Deprecate TypedPropertyFromStrictGetterMethodReturnTypeRector as depends on missing context and creates invalid code (#5269 )
2023-11-21 14:28:39 +00:00
Tomas Votruba
0cbee62160
Updated Rector to commit 9adc7a04b3a312957bb305edafcd0427fa6bd257
...
9adc7a04b3
[CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230 )
2023-11-07 18:56:36 +00:00
Tomas Votruba
73986cddda
Updated Rector to commit bd191f05ad1e632df5b656c1da0fb56a426f5a0a
...
bd191f05ad
Rectify (#5229 )
2023-11-07 15:42:24 +00:00
Tomas Votruba
38b4fc4969
Updated Rector to commit 0a2594d5569028d436e08738fe10d4edb16d61a7
...
0a2594d556
Remove `ArraySpreadInsteadOfArrayMergeRector` from `LevelSetList::UP_TO_PHP_74` (#5228 )
2023-11-07 12:47:57 +00:00
Tomas Votruba
cdc1ef461c
Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
...
2ad03db37f
[Php83] Adds rule for adding Override attribute (#5170 )
2023-11-03 12:13:20 +00:00
Tomas Votruba
184cf49468
Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
...
f9de5d311e
[Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219 )
2023-11-02 03:20:18 +00:00
Tomas Votruba
93080b5520
Updated Rector to commit b7a5fefedc9d1a32c1f238a6a8c9b89b88e7d21c
...
b7a5fefedc
[DeadCode] Add RemoveUselessReturnExprInConstructRector (#5158 )
2023-10-12 10:26:14 +00:00
Tomas Votruba
606ba73c30
Updated Rector to commit c47b778401b0e66628b1e1d850da19ab69306e75
...
c47b778401
add consistentimploderector rule to php80 rules (#5139 )
2023-10-07 23:21:21 +00:00
Tomas Votruba
798d9b99b4
Updated Rector to commit 3e0132d324099a3d45e1f8f0d28be76d310ee0eb
...
3e0132d324
[CodeQuality] Add CompleteMissingIfElseBracketRector (#5121 )
2023-10-05 14:38:05 +00:00
Tomas Votruba
764b0cbdb5
Updated Rector to commit 3eb8e7d7a52ed8d45ca685e570fbfa0fd14e9be1
...
3eb8e7d7a5
Deprecate CountOnNullRector as depends on previous context and require manual adjustment of previous result (#5101 )
2023-10-01 09:51:45 +00:00
Tomas Votruba
671f50c702
Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
...
ee71539694
[NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099 )
2023-10-01 01:36:35 +00:00
Tomas Votruba
4f42274ab7
Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
...
85a407a1b7
Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064 )
2023-09-22 09:56:10 +00:00
Tomas Votruba
db78ff1331
Updated Rector to commit 76611f69af76327be04538df7b8c568600ac58c0
...
76611f69af
Deprecate TypedPropertyFromStrictConstructorReadonlyClassRector as based on docblock and public elements; use private elements and property promotion instead (#5049 )
2023-09-19 13:45:02 +00:00
Tomas Votruba
4ea05c5a5f
Updated Rector to commit e530fc1e1a98faa22509115e79de5e5f2997208d
...
e530fc1e1a
Introducing Collectors - final step 🥳 - processing collected data + test case (#4970 )
2023-09-19 11:53:28 +00:00
Tomas Votruba
7c6e836295
Updated Rector to commit 7b7b4fb61bc2a7088823e7cfabf8a29b4fec516c
...
7b7b4fb61b
Fix TypedPropertyFromStrictConstructor* order (#5021 )
2023-09-14 17:21:03 +00:00
Tomas Votruba
0208918c02
Updated Rector to commit 071730611619e0b6eb79d18af29480341d4a0361
...
0717306116
Implement a max jobs per worker budget (#4965 )
2023-09-10 12:29:23 +00:00
Tomas Votruba
5102d25a1e
Updated Rector to commit 672df31993b36396c3987bf6082f6218ba5cd26c
...
672df31993
Remove UnSpreadOperatorRector as not clear value and spread used on purpose (#4949 )
2023-09-09 11:18:54 +00:00
Tomas Votruba
8e8434e575
Updated Rector to commit b8485c6c17c6e1f128a33eaf6b63dfc605d77db3
...
b8485c6c17
Fix Rector extension config loading (#4946 )
2023-09-09 10:50:11 +00:00
Tomas Votruba
e6e6042119
Updated Rector to commit 10eb09f02d825d01caf92e2c45c73dddf6aa3430
...
10eb09f02d
[cleanup] Remove deprecated NonPhpRectorInterface, PseudoNamespaceToNamespaceRector and mysql to mysqli sets (#4927 )
2023-09-06 16:03:21 +00:00
Tomas Votruba
55c7e63a09
Updated Rector to commit d3719c2e953f3be1b5b1e0a2eb7ba992b65a8e6d
...
d3719c2e95
[TypeDeclaration] Place ReturnTypeFromStrictFluentReturnRector before ReturnTypeFromReturnNewRector (#4926 )
2023-09-06 14:55:50 +00:00
Tomas Votruba
2ae279bf07
Updated Rector to commit 093bcb63a19db3fcdab8264897c584212d755463
...
093bcb63a1
[CodeQuality] Add NumberCompareToMaxFuncCallRector (#4914 )
2023-09-05 13:21:31 +00:00
Tomas Votruba
326e84f967
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-09-01 11:10:35 +00:00
Tomas Votruba
3d97937140
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-08-31 16:33:28 +00:00
Tomas Votruba
9ab8c34a91
Updated Rector to commit a2c2046ba856be0346f69887e3fa0b75c4febfa9
...
a2c2046ba8
replaces `get_headers` $associative with bool (#4850 )
2023-08-25 07:04:35 +00:00
Tomas Votruba
6da4ac4e2a
Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
...
295156cba1
[Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841 )
2023-08-24 07:18:13 +00:00
Tomas Votruba
e57e1c363e
Updated Rector to commit 6d0f7da6e3d41e41781251d23f5ff934047d15cd
...
6d0f7da6e3
fix duplicated method
2023-08-15 22:27:51 +00:00
Tomas Votruba
867dc4426c
Updated Rector to commit 6b7aac835934de48c034aa8b2bad886616566e06
...
6b7aac8359
[Php81] Remove IntersectionTypesRector as rely on docblock (#4784 )
2023-08-14 06:41:08 +00:00
Tomas Votruba
987f47e02b
Updated Rector to commit 645190ad31421260caf8fa202df9e03b93a12cbb
...
645190ad31
[DX] Remove $nodeScopeResolver->setAnalysedFiles() usage as on parallel, it only lookup inside scheduled jobs (#4768 )
2023-08-11 11:32:21 +00:00
Tomas Votruba
7bb4bad572
Updated Rector to commit 1659ca292848fc1722b4b084d9fd1625b21e69c9
...
1659ca2928
[DX] Deprecate NonPhpRectorInterface, the only rule and its file processor, to make Rector handle exlusively PHP (#4761 )
2023-08-10 19:26:52 +00:00
Tomas Votruba
50e22e8613
Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
...
bcb51e81bc
[Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755 )
2023-08-10 11:47:33 +00:00
Tomas Votruba
e7097335cd
Updated Rector to commit b93e285a4a72ef12d4892852118d5ab7b1b48bdd
...
b93e285a4a
[DX] Remove AddDefaultValueForUndefinedVariableRector as can generate broken code and depends on context (#4729 )
2023-08-09 10:56:45 +00:00
Tomas Votruba
5602ee85cd
Updated Rector to commit 3de7c697f5adc910481ff5873674284b2836dc50
...
3de7c697f5
[DX] Remove *AnnotationIncorrectNullableRector rules as works with unreliable docblocks and can have 2 solutions (#4719 )
2023-08-08 13:25:26 +00:00
Tomas Votruba
cd0b3a7cca
Updated Rector to commit 6e9378e3bf2a4ae78fb53d93e193be473ffcb5d4
...
6e9378e3bf
[DX] Merge RectorOutputStyle, OutputStyleInterface to RectorStyle (#4711 )
2023-08-07 21:49:15 +00:00
Tomas Votruba
a68d89f0cc
Updated Rector to commit 6f1f2676d45d2c514d567bdb52cfbb06c8b3db53
...
6f1f2676d4
[DX] Various injection and tests details improvement (#4702 )
2023-08-07 12:16:32 +00:00