16698 Commits

Author SHA1 Message Date
Tomas Votruba
09bae2b903 Updated Rector to commit 3243f1b482fb62949d4abbcd6090e59ede0eb0cf
3243f1b482 Misc cherry picks (#4771)
2023-08-11 16:45:13 +00:00
Tomas Votruba
e36ad5d27c Updated Rector to commit 6923113ff2994cfb0c76298c7dc7d038655fbc95
6923113ff2 [DeadCode] Skip used by trait on RemoveUnusedPrivateMethodRector (#4770)
2023-08-11 13:30:03 +00:00
Tomas Votruba
4bb1802e5e Updated Rector to commit d88803add852dade958647efa5c2c24fb452b8af
d88803add8 tidy fixtures
2023-08-11 12:28:19 +00:00
Tomas Votruba
652edbc08b Updated Rector to commit ccaedcc7628247ec28a86068a4c1925c113a87d1
ccaedcc762 make PhpFileProcessor support always true, as alwasy checks with same values
2023-08-11 12:24:44 +00:00
Tomas Votruba
8bc2ceabb8 Updated Rector to commit e5c0b505ca7e91a8d71dee6d55a3faaa2587cf0e
e5c0b505ca remove empty parent tearDown ref
2023-08-11 12:23:02 +00:00
Tomas Votruba
ead2b5fcdc Updated Rector to commit 08a9ab7031a4cc74b85040b3dba917106f84ec03
08a9ab7031 [build] Remove phtml from downgrade, as not needed anymore
2023-08-11 12:21:38 +00:00
Tomas Votruba
705e925e68 Updated Rector to commit 28a64fd972f9015b31c2d10c1c14aed0ccedeca4
28a64fd972 [Config] Move from magic loading of all PHPStan extensions, their bootstrap files etc. under control with explicit file listing (#4769)
2023-08-11 11:56:34 +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
16cc359e15 Updated Rector to commit a75341c2beaa9e732920328c675cf2184bb409af
a75341c2be Cleanup few test fixtures to make them more readable (#4767)
2023-08-11 11:18:30 +00:00
Tomas Votruba
9d88bf87a6 Updated Rector to commit dc6e83c69ff9848d5bbfeedc9c596a042239a840
dc6e83c69f [e2e] Handle $rectorConfig->paths() with wilcards * config (#4765)
2023-08-11 10:21:07 +00:00
Tomas Votruba
7abf8380e8 Updated Rector to commit cf1d5b0a492598b893c3fe0ac1ec1d2fcd5018c6
cf1d5b0a49 Remove SwapMethodCallArgumentsRector as could lead to infinite swapping, use custom rule with type/value check instead (#4766)
2023-08-11 10:13:56 +00:00
Tomas Votruba
9c230e80b6 Updated Rector to commit 575c8d86349fae3144987da1ee705495b31335e7
575c8d8634 add type parser alias (#4764)
2023-08-11 09:37:27 +00:00
Tomas Votruba
ba0b1de8cb Updated Rector to commit 6154cb9e54a8812e4b2d61672f1c43c6940b7f46
6154cb9e54 [Cleanup] Remove unused easy-ci config (#4763)
2023-08-11 09:31:44 +00:00
Tomas Votruba
3fe8eb8e32 Updated Rector to commit a29e3afdb65a6378eb91a9fec7c706d54366633b
a29e3afdb6 Make indent size and char fetchable (#4762)
2023-08-11 09:14:44 +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
d45a7ad902 Updated Rector to commit cbe3255f7e6b66af6c979131e200e7c01b4a0971
cbe3255f7e Remove Dumper::dump() in print_node function (#4760)
2023-08-10 18:44:03 +00:00
Tomas Votruba
af3a14a8a9 Rector 0.17.12 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 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