Commit Graph

16682 Commits

Author SHA1 Message Date
Tomas Votruba
af3a14a8a9 Rector 0.17.12 2023-08-10 15:22:02 +00:00
Tomas Votruba
4b4f578689 Updated Rector to commit fa2a806a07ca9279af5a69391d0556098f0cdbb1
fa2a806a07 [DX] deprecated build shipped debug fuctions, allow using custom debug package instead; add local d() and dd() functions (#4759)
2023-08-10 15:20:53 +00:00
Tomas Votruba
fb1f63e38b Updated Rector to commit 0bdace5619d44c2ab3b30254f3ef06fe5e90e6fa
0bdace5619 [Php80] Handle crash Property ReflectionEnum::$betterReflectionClass does not exist on AddParamBasedOnParentClassMethodRector on Enum usage (#4758)
2023-08-10 14:35:27 +00:00
Tomas Votruba
77447fc516 Updated Rector to commit e9ff73fa36a3e8afcbbdefd2cc0675fdb239fb21
e9ff73fa36 fix cs
2023-08-10 12:18:13 +00:00
Tomas Votruba
fd27dcf231 Updated Rector to commit a4bc873216f6d468524f95ca2746224c48311c2e
a4bc873216 cs
2023-08-10 12:16:13 +00:00
Tomas Votruba
852f522cbd Updated Rector to commit f4b71a5406b7a79e7fa09659c6a1ca0014a558e1
f4b71a5406 [TypeDeclaration] Use native type detection instead of docblock on AssignToPropertyTypeInferer for TypedPropertyFromAssignsRector (#4754)
2023-08-10 12:12:18 +00:00
Tomas Votruba
90a98ad57b Updated Rector to commit fe4d90d829b8bd17eff843f0e3de7a5a9cf0e023
fe4d90d829 [DX] Remove complementary interface, as not practical (#4757)
2023-08-10 12:02:49 +00:00
Tomas Votruba
f594570cda Rector 0.17.11 2023-08-10 12:01:42 +00:00
Tomas Votruba
0dd5cd28c3 Updated Rector to commit e0167e6f750106355909fd7933b8cae23f9cc543
e0167e6f75 cleanup phpstan errors (#4756)
2023-08-10 11:55:04 +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
dde9963adf Updated Rector to commit f294e6df400814dbd8125ba141b16d96930716c5
f294e6df40 Cleanup test fixture (#4753)
2023-08-10 10:13:56 +00:00
Tomas Votruba
2802271875 Updated Rector to commit 9fcc5ba0771cfe693845f5a4ab2755d28c70d461
9fcc5ba077 Use direct VoidType definition on Return_ expr is null on ReturnedNodesReturnTypeInfererTypeInferer (#4752)
2023-08-10 07:14:40 +00:00
Tomas Votruba
c050eb8443 Updated Rector to commit d32040ff25de17c3a84a8fb1e556501bf8a939a7
d32040ff25 [TypeDeclaration] Skip void type on caller on ReturnTypeFromStrictTypedCallRector (#4751)
2023-08-10 04:48:30 +00:00
Tomas Votruba
e9ded638e3 Updated Rector to commit 9f4d232d605875d9feaea285c13fd9debafb0550
9f4d232d60 [DX] Cleanup and simplify class naming tests (#4749)
2023-08-09 20:14:10 +00:00
Tomas Votruba
0034aa1ce6 Updated Rector to commit db0388feecd977d5bb8cda662b9aee14a53ecfc6
db0388feec misc (#4748)
2023-08-09 19:20:00 +00:00
Tomas Votruba
6af22196e7 Updated Rector to commit ecdf208042cf256ae0269c0f059cf866e3bbca82
ecdf208042 cleanup (#4747)
2023-08-09 16:25:45 +00:00
Tomas Votruba
136d8e9a39 Updated Rector to commit 5293dab1de037a3ea8fb25efd6136b899049b902
5293dab1de Remove Php80NestedAttributesRector test as coverage in PHP 8 test (#4746)
2023-08-09 16:21:32 +00:00
Tomas Votruba
d23a5ea440 Updated Rector to commit b23294698f066a48e35be76ba0f25616f48f375e
b23294698f [Renaming] Remove callables from class renames to avoid missed rename bugs, better handle with PHSPtan and custom rule (#4745)
2023-08-09 16:15:16 +00:00
Tomas Votruba
0ae3d3835f Updated Rector to commit 6272769869e6de54b4cf172b8825af96ce51e11d
6272769869 [DX] Less rename class tests to keep readable and unique (#4744)
2023-08-09 16:03:32 +00:00
Tomas Votruba
048ea39b8c Updated Rector to commit fa1fe742b81ff7142111ce284c54873efed7c72e
fa1fe742b8 skip phpstan error
2023-08-09 15:45:27 +00:00
Tomas Votruba
e8bb28427d Updated Rector to commit 6ccf61e8efc61eb445e38c90ff4ccdb7ad9a9c1f
6ccf61e8ef [DX] Add simple parmater provider hash (#4742)
2023-08-09 15:39:50 +00:00
Tomas Votruba
ce7b821341 Updated Rector to commit defd4e28f80c0d022fe83a820d7f0d9057305d41
defd4e28f8 [DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself (#4743)
2023-08-09 15:06:44 +00:00
Tomas Votruba
b8ff28ebbf Updated Rector to commit 484a38bf6276567f6810338d2974b43533da199d
484a38bf62 [DX] Cleanup covered multline doc printer test (#4740)
2023-08-09 14:42:02 +00:00
Tomas Votruba
36616ec18c Updated Rector to commit fcfddd9408e2d678c4b9ab6c5c9fa77e90228b73
fcfddd9408 [DX] Reduce getFilePath() call on AbstractRector (#4741)
2023-08-09 14:28:01 +00:00
Tomas Votruba
52d316d0f0 Updated Rector to commit ed7426f02db446090399165a884ea7082e160d50
ed7426f02d [Logging] Add RectorOutput logging service (#4736)
2023-08-09 14:19:55 +00:00
Tomas Votruba
1608c34bc1 Updated Rector to commit f8fb15c0ba8578933b958bcd079a066b5471c5be
f8fb15c0ba cleanup spaces (#4739)
2023-08-09 14:05:08 +00:00
Tomas Votruba
b2bd597e06 Updated Rector to commit 036cddbcb609f5631f3e52fe88d20681cb3ea44d
036cddbcb6 [DX] Ensure file processors are unique to avoid double run (#4737)
2023-08-09 13:53:55 +00:00
Tomas Votruba
489106fbd3 Updated Rector to commit 7ebdc9fb6004d687f80d346c69ec868206a1a5f0
7ebdc9fb60 [DX] Keep parameter pure file paths (#4738)
2023-08-09 13:52:33 +00:00
Tomas Votruba
86016b833d Updated Rector to commit 31ad417ee444a31ed1ca07c54e9dddac2404fc1b
31ad417ee4 Make relativeFilePathFromDirectory() private as used only locally (#4735)
2023-08-09 13:19:45 +00:00
Tomas Votruba
7c1470fadd Updated Rector to commit 6b84177a797f708f5abe2f69befe43d696e32ba5
6b84177a79 [DX] Add ProcessConfigureDecorator to avoid superfluous composition (#4734)
2023-08-09 13:17:04 +00:00
Tomas Votruba
8c38570f22 Updated Rector to commit 6942dabb36d6687b1f9a77eff1a357dd2acfbf47
6942dabb36 [DX] Move RectifiedAnalyzer to Skipper service (#4733)
2023-08-09 13:07:19 +00:00
Tomas Votruba
fb2023e2bd Updated Rector to commit ef021221858b602a9b39e0b8e403530d1671d453
ef02122185 Remove appendArgs() method on AbstractRector (#4732)
2023-08-09 12:45:29 +00:00
Tomas Votruba
80654c23af Updated Rector to commit 8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361
8ae33c5f7c [Php70] Remove appendArgs() usage on CallUserMethodRector (#4731)
2023-08-09 12:42:27 +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
dcc3c616a4 Updated Rector to commit 59cf4dd699aff10f3cd59bdfc11236651200383a
59cf4dd699 [DX] Validate rules no longer exists on $rectorConfig->skip() (#4728)
2023-08-09 09:13:23 +00:00
Tomas Votruba
e0af8c24c9 Updated Rector to commit b98df68ebb65cc05b7faba113e8e81a56d501c08
b98df68ebb [TypeDeclaration] Allow change multiple methods on AddParamTypeDeclarationRector (#4727)
2023-08-09 06:40:30 +00:00
Tomas Votruba
6703dc85ab Updated Rector to commit ea91c99695a8a8108bad4428c7febcf4222a363d
ea91c99695 Reduce private accessor usage on get parent class name not autoload (#4726)
2023-08-09 02:16:25 +00:00
Tomas Votruba
62bbbc5de1 Updated Rector to commit 662cbb9e6b9cf4842d833965dceed8eec77a0e17
662cbb9e6b [DX] Laravel container + test case improvements (#4725)
2023-08-08 16:32:19 +00:00
Tomas Votruba
8bc3a6415e Updated Rector to commit 0633dcc1de6186ff0f5186465cf47f9d97e2baf5
0633dcc1de [DX] Remove autoimport from unrelated tests, handled in importing (#4724)
2023-08-08 16:19:58 +00:00
Tomas Votruba
135fa91a30 Updated Rector to commit 88112d208bafbe266d5b0e5ec7fcb84058280ce2
88112d208b [TypeDeclaration] Skip non void or never already return typed on ReturnNeverTypeRector (#4723)
2023-08-08 15:44:06 +00:00
Tomas Votruba
30ec2e23dc Updated Rector to commit c098c8d87e319e4c4ceef04655258976c6f29286
c098c8d87e [cleanup] Remove autoimport from tests, handled in importing (#4722)
2023-08-08 15:38:50 +00:00
Tomas Votruba
ee45a5a26e Updated Rector to commit 17fe187769dba735386f3afbad705e27de46b887
17fe187769 [TypeDeclaration] Skip param setter method intersection docblock not autoload on ReturnNeverTypeRector (#4721)
2023-08-08 15:26:09 +00:00
Tomas Votruba
dc504e2a35 Updated Rector to commit 0a8ffe3ac8f42a93fb2853cc7ee93a1acced8a89
0a8ffe3ac8 [Types] Make AddVoidReturnTypeWhereNoReturnRector work only with type-declaration, as reliable (#4720)
2023-08-08 14:29:00 +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
57a69ad4a0 Updated Rector to commit b00b694fc423331a17c02f2ad225fbbacc750d2a
b00b694fc4 [DX] Cache rector test config loading by file + class to avoid booting over and over per fixture (#4718)
2023-08-08 10:04:25 +00:00
Tomas Votruba
d399c76138 Updated Rector to commit c2edf2f6df801b64c8ba0f90e277de2ff8515b44
c2edf2f6df [Reflection] Remove #[Required] on ReflectionResolver (#4716)
2023-08-08 08:58:53 +00:00
Tomas Votruba
3c5f7a4dd4 Updated Rector to commit eed1dca02b44f63a00f232631763eddce1545094
eed1dca02b [DX] remove branch alias to avoid miss-versioning, use specific tag instead (#4715)
2023-08-08 08:50:04 +00:00
Tomas Votruba
580a5566b1 Updated Rector to commit 211deb44af8953bc0e67095d64aa45ec0e17d157
211deb44af [Console] Remove #[Required] on AbstractProcessCommand (#4713)
2023-08-08 01:59:11 +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
8689c339f5 Updated Rector to commit acce9fa86f3942563d11dddf5c37114ee5ae8c00
acce9fa86f Misc make use of AbstractLazyTestCase (#4710)
2023-08-07 18:37:36 +00:00