Commit Graph

67 Commits

Author SHA1 Message Date
Tomas Votruba
ec3d78eef4 Updated Rector to commit 5a3a59c50c7810296274eb4408737c8f2f8921e7
5a3a59c50c Remove collectors, as performance very costly and not practically useful (#5470)
2024-01-15 22:10:40 +00:00
Tomas Votruba
b68c88f0b4 Updated Rector to commit f68d9f89cece7c081c431ddeeafe2d317514a1cc
f68d9f89ce [Performance] Extract PathSkipVoter to dedicated service and call before Filesystem::read() (#5451)
2024-01-10 13:03:20 +00:00
Tomas Votruba
816ddfc830 Updated Rector to commit 2f5a252ea9bac10994e08623e9371ec132045880
2f5a252ea9 [DX] Make command default autotag (#5441)
2024-01-07 12:05:03 +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
5892f5adb9 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() (#5396)
2023-12-26 18:33:36 +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
39dc6141e7 Updated Rector to commit 42b697f65f0c648cc45abcc5b9e32a16a7967caa
42b697f65f [deprecated] Remove deprecated properties from AbstractRector (#5243)
2023-11-11 17:10:37 +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
d628c0dcad Updated Rector to commit 238a9f1800225bd3f350dc25df79ad283d91a25a
238a9f1800 Revert doctrine/inflector removal (#5201)
2023-10-25 15:01:11 +00:00
Tomas Votruba
23e5d4df05 Updated Rector to commit 1d3fc91bd5e0154daae34b1efdb64a6f78f47c89
1d3fc91bd5 apply cs
2023-10-24 15:03:15 +00:00
Tomas Votruba
02041b2207 Rector 0.18.6 2023-10-24 15:00:59 +00:00
Tomas Votruba
52923dc606 Updated Rector to commit 1c54292ed68e46f4ddfa2adb21f28130f308b99c
1c54292ed6 Replace doctrine/inflector with simpler mapping function (#5165)
2023-10-24 15:00:55 +00:00
Tomas Votruba
2e784e585d Updated Rector to commit 11c66a7d12042656f37b27e3bba10f5b35582226
11c66a7d12 [DX] Hide worker command in list, as internal and not intended to invoke by user (#5182)
2023-10-16 20:44:04 +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
95d1af621f Updated Rector to commit 640a49bb8dded439c57723ea4d047f1c9782b78f
640a49bb8d move collectors to src/Collector namespace for easy discovery, add MockedClassCollector (#5055)
2023-09-30 09:19:11 +00:00
Tomas Votruba
f642d08e09 Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
41235b8c7c [Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091)
2023-09-29 12:48:57 +00:00
Tomas Votruba
a991908b36 Updated Rector to commit 9c18b86edadc4f9e538d7065a62ba386ec14b6ad
9c18b86eda cleanup
2023-09-20 16:18:13 +00:00
Tomas Votruba
4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +00:00
Tomas Votruba
3827f75ecd Updated Rector to commit 23d429233d37af0d743b4d4dc622828c704d2d2f
23d429233d [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5052)
2023-09-20 12:53:23 +00:00
Tomas Votruba
b2b3a0f5cc Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
33fa626297 [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
2023-09-20 12:41:26 +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
d7b6d352e5 Updated Rector to commit 308178a058b057813283852029a7b2aaa026568a
308178a058 Adding collectors - step 3 (#5043)
2023-09-18 17:12:03 +00:00
Tomas Votruba
f8df0467fb Updated Rector to commit ef003b2458043b677bdd72522439bd80afb44a2c
ef003b2458 refactor: add support for Custom Skip Voters (#5002)
2023-09-12 08:13:37 +00:00
Tomas Votruba
ec41ac44ea Updated Rector to commit 2e6fcdea7e3945a06d2cc229a92567ea52ce9d6d
2e6fcdea7e Remove CurrentRectorProvider and  used for docblock changes report, return bool value and node directly in the rector rule instead (#4982)
2023-09-11 07:55:34 +00:00
Tomas Votruba
59ce553896 Updated Rector to commit 0bb2398438d57d393d7be0d3f7fc2d237cf51e0a
0bb2398438 Make BetterPhpDocParser parse node directly (#4981)
2023-09-11 07:45:38 +00:00
Tomas Votruba
4cbb15f972 Updated Rector to commit 1593d006138230202e20bd209da375ca1e171876
1593d00613 [Internals] Decouple output from AbstractRector, narrow debugging output to file path (#4976)
2023-09-10 20:27:13 +00:00
Tomas Votruba
6c92c9ea3e Updated Rector to commit 3fcbb533c2d4da174cbfcad1e5d5cfe354dfd884
3fcbb533c2 [Internals] Merge PhpFileProcessor to FileProcessor (#4977)
2023-09-10 20:21:47 +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
d05c52724c Updated Rector to commit a0be8b892d92d5bbbc64713dc8469904a15fe6b0
a0be8b892d [DX] Cleanup type resolvers (#4939)
2023-09-08 14:06:44 +00:00
Tomas Votruba
e844be2688 Updated Rector to commit feffd813a316ea0d9f1e0dd6ba45b90b88ae72c3
feffd813a3 [DX] Hide default symfony commands, show only rector ones (#4938)
2023-09-08 13:46:57 +00:00
Tomas Votruba
df5f31835a Updated Rector to commit 099994eb803ebf550ae77bbd5ebcac1263d6571a
099994eb80 [DI] introduce boot() method to avoid hacking beforeResolving() closures (#4937)
2023-09-08 10:19:50 +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
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
92fc179e0d Updated Rector to commit 5f52c69ae04c708be50552b165104b4a919a3ff0
5f52c69ae0 [e2e] $rectorConfig->skip() should not skip inside different path over config (#4882)
2023-08-30 11:40:52 +00:00
Tomas Votruba
b388569c60 Updated Rector to commit 2864cbe80ab411dde3bafa28f99883c0878969f7
2864cbe80a Remove deprecated FileProcessorInterface (#4835)
2023-08-23 10:40:53 +00:00
Tomas Votruba
8c53c7470b Updated Rector to commit 216108b6d9e24cf4f3f829fe5a67133c8564d23d
216108b6d9 [DX] Merge PhpRectorInterface to RectorInterface as identical contract and separation no longer needed (#4812)
2023-08-18 12:27:46 +00:00
Tomas Votruba
758ada29b5 Rector 0.18.0 2023-08-17 12:53:22 +00:00
Tomas Votruba
b8fef75121 Updated Rector to commit dc580ae1bb540eed78d915db46168b39c1469b42
dc580ae1bb Fix skip() Rector class, make container forget it comleteely (#4807)
2023-08-17 11:14:54 +00:00
Tomas Votruba
0648bce658 Updated Rector to commit 7165002817bab1c4d4a17b40fcc6c5cc3d4b2af6
7165002817 cleanup
2023-08-15 22:36:59 +00:00
Tomas Votruba
532732b102 Updated Rector to commit 78e491aae512e1b354427621a3171c506477aabe
78e491aae5 load devs commands
2023-08-15 22:32:37 +00:00
Tomas Votruba
e57e1c363e Updated Rector to commit 6d0f7da6e3d41e41781251d23f5ff934047d15cd
6d0f7da6e3 fix duplicated method
2023-08-15 22:27:51 +00:00
Tomas Votruba
8216388351 Updated Rector to commit 2fe68ad7649faf0ebec883dcdeb91ee6118297ce
2fe68ad764 [DI] Add resetable interface to reset services on new DI run (#4790)
2023-08-14 13:46:38 +00:00
Tomas Votruba
a8b42110be Updated Rector to commit 7899f2b186919d8b6bec30272f5e3046ec0793bd
7899f2b186 [NodeNameResolver] Remove EmptyNameResolver (#4782)
2023-08-14 06:35:46 +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
9c230e80b6 Updated Rector to commit 575c8d86349fae3144987da1ee705495b31335e7
575c8d8634 add type parser alias (#4764)
2023-08-11 09:37:27 +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
52d316d0f0 Updated Rector to commit ed7426f02db446090399165a884ea7082e160d50
ed7426f02d [Logging] Add RectorOutput logging service (#4736)
2023-08-09 14:19:55 +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
62bbbc5de1 Updated Rector to commit 662cbb9e6b9cf4842d833965dceed8eec77a0e17
662cbb9e6b [DX] Laravel container + test case improvements (#4725)
2023-08-08 16:32:19 +00:00