Commit Graph

952 Commits

Author SHA1 Message Date
Tomas Votruba
12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba
9427cdb84c Updated Rector to commit 1d2d51e20ce11d0f603e42bd8869c1ab6d2a52cc
1d2d51e20c [Nette] Replace deprecated Json::FORCE_ARRAY and Json::PRETTY on Nette\Utils\Json usage (#5814)
2024-04-09 20:37:51 +00:00
Tomas Votruba
664f4e3a6b Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
0f1987b0fa Adds a link to the PHP Static Analysis Attributes rector rules (#5787)
2024-04-01 16:51:34 +00:00
Tomas Votruba
045db2fd56 Updated Rector to commit f254215a5ac2877d4fb99dbf7f7ab44c070f1333
f254215a5a [Scope] Fix resolve Scope from fluent call (#5743)
2024-03-26 19:25:47 +00:00
Tomas Votruba
014254f0df Updated Rector to commit 83046fcc340c19fc65bc09db25bbc018b01d6f30
83046fcc34 Add `rector` test suite to `phpunit.xml` or `phpunit.xml.dist` (#5717)
2024-03-26 09:28:34 +00:00
Tomas Votruba
7da00fc128 Updated Rector to commit 750713625e27e07175e4c7144802fb623422c036
750713625e Add dump_node() helper function (#5696)
2024-03-06 20:55:59 +00:00
Tomas Votruba
695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00
Tomas Votruba
dc98feb11d Updated Rector to commit 290926cc8b93331dd715d7ea061847dafbc1821a
290926cc8b  [Util] Make consistent new line splitter to Util  (#5651)
2024-02-21 15:30:52 +00:00
Tomas Votruba
80c79c976b Updated Rector to commit 4570438319ff69196c28b13fad1e3567ca7bd1e5
4570438319 [Config] Make sure only one of type-declaration/dead-code or with*Level() is used to avoid duplicates (#5578)
2024-02-07 21:49:03 +00:00
Tomas Votruba
7bb5d0c0c4 Updated Rector to commit 5b3d656a003e72540050d47e00285341a96b5796
5b3d656a00 [Custom] Add "detect-node" command to help with writing custom rules (#5576)
2024-02-07 16:28:52 +00:00
Tomas Votruba
7810dc2e74 Updated Rector to commit 487f162d53fe42f6d76557ca6cd49d93ceb911e8
487f162d53 [experimental] Add withTypeCoverageLevel() method to streamline Rector integration to new projects (#5553)
2024-02-05 08:01:59 +00:00
Tomas Votruba
ef919121e0 Updated Rector to commit b0ad3649f9eb67550dea6dee01bb374f6bf675df
b0ad3649f9 Fix xdebug handling (#5544)
2024-02-03 07:09:19 +00:00
Tomas Votruba
b0211bc3d8 Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
fa75fcf0d1 [Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542)
2024-02-01 23:54:40 +00:00
Tomas Votruba
c828305041 Updated Rector to commit 58ef131772f7745a52c3990aeaea34a4892b6ae5
58ef131772 [Performance] Remove CollectedData on ProcessResult (#5520)
2024-01-30 05:37:48 +00:00
Tomas Votruba
94c55b84c0 Updated Rector to commit 1608ae8c9497bbfaf78ce54130ec304963ac6f2a
1608ae8c94 [Windows] Utilize Nette\Utils\FileSystem instead of Symfony\Component\Filesystem\Filesystem to write file (#5514)
2024-01-28 22:41:37 +00:00
Tomas Votruba
6752d80c19 Updated Rector to commit 63fbf41cc9a6cc66c720926beec4603892eb21d0
63fbf41cc9 [Formatter] Remove unused CompleteUnifiedDiffOutputBuilderFactory (#5510)
2024-01-27 23:54:33 +00:00
Tomas Votruba
9204913593 Updated Rector to commit a69e1ff013720727f052437d051ca5ab2c11b89e
a69e1ff013 Add PHPUnit 9 annotations support detectoin in "custom-rule" command, add RectorConfig::withPreparedSets() (#5506)
2024-01-26 21:43:08 +00:00
Tomas Votruba
dd875cd0c9 Updated Rector to commit d09ae7400a75f7694a11c2d8353c2fd14b6419e3
d09ae7400a Add "custom-rule" command to make creating rules easy (#5498)
2024-01-25 00:06:40 +00:00
Tomas Votruba
744ab2e38b Updated Rector to commit 955a5de414501f77b80b321a90ee35d4fe49e9e2
955a5de414 Add gitlab to "setup-ci" command (#5497)
2024-01-24 21:26:26 +00:00
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
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
8e7d3b2d52 Updated Rector to commit 595086559f9ed5196d53c6dbea907043153bda61
595086559f [psr-4] Update Rector core test reference (#5410)
2024-01-01 09:05:02 +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
37846880cd Updated Rector to commit f54a79b475d1eb73f536cbc07ee108b2dda07a01
f54a79b475 [Parallel] Fix missing --xdebug in WorkerCommand line on WorkerCommandLineFactory when --xdebug provided (#5398)
2023-12-28 12:01:32 +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
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
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
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
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
4b84a2b441 Updated Rector to commit 0c5ad104aee04d680816bbed6224470c7acfb895
0c5ad104ae [DX] Merge WorkerRunner to WorkerCommand, to make context closer (#4972)
2023-09-10 19:16:46 +00:00
Tomas Votruba
3f02794da2 Updated Rector to commit 27078e79628cb14866b69dc6b8c2181fbec1d4c6
27078e7962 [DX] Add FileProcessResult + kick of collectors (#4947)
2023-09-09 14:15:49 +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
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
e6eb064594 Updated Rector to commit 9a07a7b35cc3ad4d0f1fcd60db728109d6196541
9a07a7b35c [DX] Display rule count in list-rules (#4848)
2023-08-24 17:27:26 +00:00
Tomas Votruba
acc38e2215 Updated Rector to commit f77cf5af2c486ab2db77c0a88d1c982e76261e09
f77cf5af2c [DI] Remove symfony/dependency-injection dependency (#4796)
2023-08-15 23:30: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
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
0034aa1ce6 Updated Rector to commit db0388feecd977d5bb8cda662b9aee14a53ecfc6
db0388feec misc (#4748)
2023-08-09 19:20:00 +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
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
341eb6df44 Updated Rector to commit fe9d91c0c0f9553e27dfae17a391236f27498e5c
fe9d91c0c0 [DX] Make use of Laravel container - step #14 (#4709)
2023-08-07 18:15:37 +00:00
Tomas Votruba
5ff5bf0287 Updated Rector to commit 58f3e0cb15ccf65e9a364da08b272d9313554623
58f3e0cb15 [DX] Make use of Laravel container - step #13 (#4708)
2023-08-07 17:58:20 +00:00
Tomas Votruba
7e2a628d19 Updated Rector to commit e2a663644661e2726413a88f228784d6879f5e4e
e2a6636446 [DX] Make use of Laravel container - step #12 (#4707)
2023-08-07 17:39:41 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba
5a842dbce3 Updated Rector to commit c1e03db126ca74dc518aa4a0c9a04715e7f1cd44
c1e03db126 [cs] Re-run ECS dev version to try out regression (#4595)
2023-07-25 08:52:39 +00:00
Tomas Votruba
bff94f9200 Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
ceab6d71bb Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437)
2023-07-19 11:08:33 +00:00
Tomas Votruba
9965650f0e Updated Rector to commit e77f6d21a97319f57f11a7e6eae9b583fe425c1e
e77f6d21a9 [ApplicationFileProcessor] Refactor ApplicationFileProcessor to filter file paths early before run both parallel and non-parallel (#4519)
2023-07-15 00:49:23 +00:00
Tomas Votruba
3da291ebaf Updated Rector to commit d41685daa403a71dd3cd78fce5205a2a3048cba4
d41685daa4 [DX] Show progress bar 100% on RectorConsoleOutputFormatter::report() (#4516)
2023-07-14 19:51:55 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00