Commit Graph

135 Commits

Author SHA1 Message Date
Tomas Votruba
06f50472a3 Updated Rector to commit 6c7dbaad0ab67dd06cef9237fab3728ae4f23e9a
6c7dbaad0a config method must be static, to avoid creating rule before loading related ctor services (#5606)
2024-02-12 08:57:06 +00:00
Tomas Votruba
b8be29526e Updated Rector to commit 62ba91690bda77bfa41075d5dda3d0487a869580
62ba91690b [internal] Add RelatedConfigInterface to load external services (#5605)
2024-02-12 08:46:32 +00:00
Tomas Votruba
35d4de2656 Updated Rector to commit ee89fb7b82b6fa37412bd5d0cbaac9b49258eb3f
ee89fb7b82 remove non existing collector aliases
2024-01-16 00:20:08 +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
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
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
2bbdfcfe3b Updated Rector to commit a21a3f17578cb8e13505ffe0e797ecfd12e86c4f
a21a3f1757 [Cleanup] Remove TypeToCallReflectionResolver as not needed anymore (#4917)
2023-09-05 19:57:28 +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
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
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
cd0b3a7cca Updated Rector to commit 6e9378e3bf2a4ae78fb53d93e193be473ffcb5d4
6e9378e3bf [DX] Merge RectorOutputStyle, OutputStyleInterface to RectorStyle (#4711)
2023-08-07 21:49:15 +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
f486676c12 Updated Rector to commit 16b60d0f84d824f2eaafadd52650bd4ea84798e5
16b60d0f84 Make ConvertStaticPrivateConstantToSelfRector work for non-final classes, make part of code-quality set (#4114)
2023-06-08 14:55:39 +00:00
Tomas Votruba
9e103260ec Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
2f3e9be0ae [DX] Test BetterNodeFinder with Laravel container (#4106)
2023-06-08 14:23:03 +00:00
Tomas Votruba
5f824909cb Updated Rector to commit 79ffda7d8537ca6b04e14082bd9f0091fb97215d
79ffda7d85 Remove PARENT_NODE from CountOnNullRector (#3924)
2023-05-22 13:31:04 +00:00
Tomas Votruba
7eb9eec801 Updated Rector to commit 6c3f2cdf953587cdf0945c7fb6c05fd0083c25fc
6c3f2cdf95 [DX] Deprecate parent node attribute, allow return of NodeTraverser::* in refactor() method (#3922)
2023-05-22 10:21:31 +00:00
Tomas Votruba
baf4489760 Updated Rector to commit 4ef31e92b88053cf22ca1f379fc92ecc3d45f371
4ef31e92b8 Remove deprecated TemplateResolverInterface, RectorServiceConfigurator (#3351)
2023-02-06 19:28:33 +00:00
Tomas Votruba
f923fd0998 Updated Rector to commit 43dd2efc5d663bc16327911fe31c6f6ecf60e753
43dd2efc5d Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector, ParamTypeDeclarationRector rules (#3350)
2023-02-06 19:23:07 +00:00
Tomas Votruba
3c99dc15fc Updated Rector to commit a31ae50227e48b078b9a3e78da55507a23127887
a31ae50227 Add Missing in Set Command to CI + complete sets from their category (#3141)
2022-12-02 14:15:07 +00:00
Tomas Votruba
1bb085831c Updated Rector to commit 84691d5a2eb99a8794ac8c02f3fe8daf411361fe
84691d5a2e Remove self-serving FileDiffFileDecorator interface (#2835)
2022-08-24 11:58:09 +00:00
Tomas Votruba
26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
2e28c5e4af Updated Rector to commit 83f7e9f3ab
83f7e9f3ab [DX] Remove too detailed --type in init command, use fw documentation instead (#2430)
2022-06-04 11:53:51 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
aa0465d388 Updated Rector to commit 975fdf113f
975fdf113f [DX] Add StmtsAwareInterface to catch node by type (#2269)
2022-05-08 20:57:50 +00:00
Tomas Votruba
ebc3a0684d Updated Rector to commit 767e7692e1
767e7692e1 [Experimental] Add refactorWithScope() method to get typed Scope easily and required (#2227)
2022-05-04 15:20:50 +00:00
Tomas Votruba
5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba
3a2aaafb14 Updated Rector to commit 3407066315
3407066315 [DX] Replace global BetterStandardPrinter from AbstractRector with autowired NodePrinterInterface for easier and specific re-use (#2036)
2022-04-09 22:42:24 +00:00
Tomas Votruba
7247d62498 Updated Rector to commit 4f13982aab
4f13982aab [DX] Make progress bar less verbose on CI (#1797)
2022-02-11 12:13:24 +00:00
Tomas Votruba
c88dc245e8 Updated Rector to commit 4fbeda1e1c
377b363726 the process() result is always array df4291c7e7 require always File[] in resolvePhpFilePaths() 4fbeda1e1c Merge pull request #1630 from rectorphp/tv-result-arra
2022-01-04 16:43:56 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
6ee24b2d05 Updated Rector to commit b2947fd96f
b2947fd96f [Alternative][Validation] Add AllowEmptyConfigurableRectorInterface interface for alternative to not show warning on allowed rector rule to have default fallback config (#1422)
2021-12-08 05:39:17 +00:00
Tomas Votruba
49a3737430 Updated Rector to commit 41413f3588
41413f3588 [Parallel] Refactor file processor to return arrays of data to allow json (#1378)
2021-12-04 19:10:58 +00:00
Tomas Votruba
0562d594e0 Updated Rector to commit f985e811be
f985e811be [DX] Add strict PHPStan rules - step #1 (#1324)
2021-11-28 16:42:02 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +00:00
Tomas Votruba
12dcf0ece3 Updated Rector to commit 48e89b5bd2
48e89b5bd2 add configurable trait interface there
2021-07-06 08:37:29 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992cc
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
e3c7d5c703 Updated Rector to commit 2a0cae5507
2a0cae5507 Make progress bar reflect number of processed files + process file by file in series (#362)
2021-07-02 20:55:14 +00:00