Commit Graph

5196 Commits

Author SHA1 Message Date
Tomas Votruba
9632c3edb1 Updated Rector to commit c6c1026bbeb8312e0f1598eb0d57f466b076f420
c6c1026bbe [DX] Cleanup AbstractRectorTestCase (#2882)
2022-09-01 15:18:01 +00:00
Tomas Votruba
d82c31f345 Updated Rector to commit 36ac5305f1b7b1007e4cbf6260695d2ae16fef5f
36ac5305f1 [DX] Use own path normalizer (#2881)
2022-09-01 11:48:21 +00:00
Tomas Votruba
c2d3d4a3b4 Updated Rector to commit 55227be6c338823f47f3fe6d4b1e48a4d8291740
55227be6c3 Removing SmartFileInfo (#2879)
2022-09-01 11:24:29 +00:00
Tomas Votruba
5466f0a888 Updated Rector to commit 1ac8dd340121f640d489479995e3b66051009ae9
1ac8dd3401 [tests] note about doTestFileInfo() deprecation
2022-09-01 09:43:09 +00:00
Tomas Votruba
2518d99664 Updated Rector to commit 84a48e5e10be865e5fe6f0bbdcab3a7fc300a886
84a48e5e10 [tests] Use file paths over value objects in tests to improve performance (#2878)
2022-09-01 09:37:14 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
041ae67a33 Updated Rector to commit 72334495142ca1e94a688c1aaed356ac99d5229f
7233449514 cs
2022-08-31 21:53:54 +00:00
Tomas Votruba
31ff77efb6 Updated Rector to commit 2ffad9317d2038e4c625341b338ab3cbd77f54cc
2ffad9317d Inline Skipper (#2877)
2022-08-31 21:51:50 +00:00
Tomas Votruba
d0fd2796b0 Updated Rector to commit 95d0a8e14840c33c27e810591a4ed1d8bc0b4cdd
95d0a8e148 [DX] Remove symplify/symplify-kernel package (#2874)
2022-08-31 11:18:37 +00:00
Tomas Votruba
afd984fc4e Updated Rector to commit b8c70125cda3a0fbdff216dfccaf065d8fe1aa2b
b8c70125cd [phpstan] Resolve duplicated methods (#2869)
2022-08-31 09:31:19 +00:00
Tomas Votruba
7b90cd54eb Updated Rector to commit 08ccd5a1a4f8757ff8f392c0e823a02bc95c14c1
08ccd5a1a4 [DX] Remove the composer upgrade as unused to narrow focus back to PHP (#2865)
2022-08-31 09:02:41 +00:00
Tomas Votruba
4a341c0b42 Updated Rector to commit f91dba4a7f015ce11123abf065e43c7b0b53e243
f91dba4a7f [DX] Remove only use case of exclusive file fixture, keep it simple (#2866)
2022-08-31 08:46:08 +00:00
Tomas Votruba
30a3e6e86b Updated Rector to commit 8ce5353f6217d9220edab09db656a51a3708dd8d
8ce5353f62 Fix class not found from Easy-Testing package (#2864)
2022-08-31 07:46:49 +00:00
Tomas Votruba
d197e99c8b Updated Rector to commit 86ccf3f6854c78c6b7b06b8471d922724cb6542b
86ccf3f685 [Testing] Use own FixtureFileFinder to keep dependency low (#2858)
2022-08-30 16:19:25 +00:00
Tomas Votruba
eb540c7f2a Updated Rector to commit b01ea044294135d9ae9546939d66b8181af50940
b01ea04429 [DX] Make use of FilePathHelper over inner magic of FileSystem in SmartFileInfo (#2862)
2022-08-30 15:03:28 +00:00
Tomas Votruba
f251f578f6 Updated Rector to commit bb3ced496fe923594d4af178fdf61328dd731608
bb3ced496f [DX] Cleanup of text file processor, unused MultipleFilesChangedTrait and misc (#2861)
2022-08-30 14:19:19 +00:00
Tomas Votruba
b6b911feb8 Updated Rector to commit 6e2915c8346af65687dcadfe6e1c4f4b9de6fa16
6e2915c834 Cleanup of SmartFileSystem (#2854)
2022-08-29 23:07:20 +00:00
Tomas Votruba
c2b6d2f759 Updated Rector to commit 1a7e63bca3c024b25c99cd0d11f2a1eda2dd8609
1a7e63bca3 [DX] Instead of smart-file-system wrapper, use filesystem helpers directly (#2853)
2022-08-29 22:42:57 +00:00
Tomas Votruba
785f5e3b06 Updated Rector to commit 74f6b181e82f191c1e471d446a029a06dff16619
74f6b181e8 [DX] Remove upgrade RectorConfig set, as last 2 version use only PHP (#2852)
2022-08-29 21:45:23 +00:00
Tomas Votruba
5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +00:00
Tomas Votruba
3ad817dad5 Updated Rector to commit a6dfb049d7100c6bb5aa93735199f8434381d210
a6dfb049d7 [DX] Make generator only part of core (#2849)
2022-08-29 18:19:15 +00:00
Tomas Votruba
583eacb780 Updated Rector to commit bd6c02a3f8154152f879106c8e77731eb3f4e69c
bd6c02a3f8 [DX] Reduce inner use of SmartFileInfo, and injected SmartFileSystem (#2847)
2022-08-29 17:51:46 +00:00
Tomas Votruba
dbb408c5c9 Updated Rector to commit c579c2873c4511eb29e337a12b62cadd3978f1e7
c579c2873c [scoper] unprefix SmartFileInfo
2022-08-29 14:03:46 +00:00
Tomas Votruba
6795a511a5 Updated Rector to commit 21695e77a8906dbdce7ada865b140ccbf73dca56
21695e77a8 [Php80] Handle single quoted is_granted on AnnotationToAttributeRector (#2842)
2022-08-26 06:47:21 +00:00
Tomas Votruba
12fa9feb17 Updated Rector to commit 21c4d378a5a054aecff8d114d34a25771a519ebe
21c4d378a5 [PHP 8.0] Add way to adjust specifics attribute arguments (#2834)
2022-08-24 11:51:48 +00:00
Tomas Votruba
36d955f51d Updated Rector to commit cb7a84c8bb0343205b7c9ce5d6442187dd089b28
cb7a84c8bb [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
2022-08-23 16:16:02 +00:00
Tomas Votruba
1bae738926 Updated Rector to commit ffa12215cf407e7d7ebb8b5bcb6a3ea794981b1e
ffa12215cf [Php80] Validate ArrayItem on CurlyListNodeAnnotationToAttributeMapper (#2814)
2022-08-21 14:29:36 +00:00
Tomas Votruba
1df416e942 Updated Rector to commit 837f71e7e8893c4d67d52f2f23bd85cd956a25f4
837f71e7e8 Make AbstractValuesAwareNode getValue() types more strict (#2813)
2022-08-21 10:36:26 +00:00
Tomas Votruba
578f41b414 Updated Rector to commit 790ca8c05779c8ea98b555ef7997b5403d73d89d
790ca8c057 [Php80] Rollback preserve int key defined not start from 0 Fixture on AnnotationToAttributeRector (#2811)
2022-08-20 21:58:41 +00:00
Tomas Votruba
53770fa84f Updated Rector to commit 8e753106800cd314b736e0c54e88be715c63cb25
8e75310680 Little cleanup (#2810)
2022-08-20 20:57:03 +00:00
Tomas Votruba
402dbe5a36 Updated Rector to commit a33b200e615b9451ba091e2724ab707f39198da7
a33b200e61 [BetterPhpDocParser] Add ArrayItemNode to improve value transfer in annotation curly lists (#2786)
2022-08-20 20:49:07 +00:00
Tomas Votruba
237f7bb846 Updated Rector to commit 236b0ffe16821d82446dffd3603e5ccb8cba8621
236b0ffe16 Fix generics and intersection in TypedPropertyRector (#7392) (#2800)
2022-08-19 11:18:45 +00:00
Tomas Votruba
1d66c96acf Updated Rector to commit 66d273e403467bb99ceae30c157fbc4a08baf59f
66d273e403 [PhpDoc] Kick of ArrayItemNode (#2795)
2022-08-19 08:10:42 +00:00
Tomas Votruba
f177e0c3dd Updated Rector to commit 76dc886f7a7f13fbed51e102ce4b616106f42702
76dc886f7a Cleanup, re-use AttributeName enums (#2792)
2022-08-19 07:49:30 +00:00
Tomas Votruba
b3c5fe1dcc Updated Rector to commit 7a609a6f2ee04d55907de7a3e09b1242a176a85a
7a609a6f2e [PHP 8.0] Keep quoted string with doublecolon in AnnotationToAttributeRector (#2784)
2022-08-18 20:44:00 +00:00
Tomas Votruba
ff9b7f9000 Updated Rector to commit b9f83c87dacd1aa09ea343a4996683ebc424c630
b9f83c87da add fixture with FQN name (#2783)
2022-08-18 19:04:04 +00:00
Tomas Votruba
54af055c16 Updated Rector to commit 69b625cd33c1e5b7c8ba7bcda19450ea71cbdda0
69b625cd33 [PHP 8.0] Add class support to NestedAnnotationToAttributeRector (#2782)
2022-08-18 18:39:25 +00:00
Tomas Votruba
d2c2df7ac2 Updated Rector to commit b8549f547ab72234078416e53f62ba16ab8582c6
b8549f547a [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
2022-08-18 17:55:50 +00:00
Tomas Votruba
5b360ddf1d Updated Rector to commit f936077f5fd5428f97d49e58f1e2a22db2c78978
f936077f5f Fix performance issue (#2774)
2022-08-18 09:32:38 +00:00
Tomas Votruba
3b5a7181ba Updated Rector to commit 1f6cea323ef7a3125c8fe56958e71ad4dd9944c7
1f6cea323e [Php80] Handle trailing comma on AnnotationToAttributeRector on Doctrine JoinColumn (#2766)
2022-08-15 18:36:53 +00:00
Tomas Votruba
f6f9dadfe8 Updated Rector to commit 2667f35cc72a6f7da454635a24bdc3ede61082ae
2667f35cc7 Improve ReturnTypeWillChangeRector to handle any method of defined type; move PhpDocFromTypeDeclarationDecorator to Downgrade rules (#2754)
2022-08-11 15:03:59 +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
8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +00:00
Tomas Votruba
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
83bdde50fe Updated Rector to commit 07b54b48ec70f8349a36239316ecf5fb2b79798a
07b54b48ec improve PhpDocInfo generics to local only
2022-08-09 10:07:17 +00:00
Tomas Votruba
089ad6e357 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 21:53:15 +00:00
Tomas Votruba
fda0b6ec7b Updated Rector to commit f4bc6c38446ac98e625a9c11c070e9829b4c6118
f4bc6c3844 [TypeDeclaration] Make anonymous class return specific type, if implements (#2738)
2022-08-06 15:04:36 +00:00
Tomas Votruba
0fb8d7623f Updated Rector to commit ea3a69918c8d314b5ef889e51c76612d849ccd2c
ea3a69918c [TypedDeclaration] Add MockObject property type support to TypedPropertyFromAssignsRector (#2737)
2022-08-06 11:55:51 +00:00
Tomas Votruba
f64e2f73c2 Updated Rector to commit c88bd7aa4389b0a75bef1fa05b10717c4891524b
c88bd7aa43 [Php80] Preserve int key defined not start from 0 on AnnotationToAttributeRector (#2735)
2022-08-05 14:06:15 +00:00
Tomas Votruba
80bfee9246 Updated Rector to commit 685dc702a0dc6c8490bf1d9c39f8a8072e4333f0
685dc702a0 Ability to yield files with names (#2732)
2022-08-04 19:19:43 +00:00
Tomas Votruba
1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba
a5ec68bd9c Updated Rector to commit ec9c15adc729988276f3fe7b726609f913266f23
ec9c15adc7 Apply ParametersAcceptorSelectorVariantsWrapper::select() take 2 (#2718)
2022-07-28 14:06:21 +00:00
Tomas Votruba
6d34684c5a Updated Rector to commit 69d3c92b00fd4cd4f435cd8974e5547251b5065e
69d3c92b00 [Php80] Add MixedTypeRector (#2701)
2022-07-27 08:28:59 +00:00
Tomas Votruba
432a6c19f9 Updated Rector to commit 4ed677db2cf86ba5db10c5727e2ed815a5700491
4ed677db2c Fix/early return inline constructor default 7319 (#2716)
2022-07-27 08:05:36 +00:00
Tomas Votruba
a9e67f6f71 Updated Rector to commit a01813086429b7548a4ef015cc874471c169da65
a018130864 [DowngradePhp81] Handle no scope on DowngradeFirstClassCallableSyntaxRector inside ArrayItem (#2709)
2022-07-27 08:02:59 +00:00
Tomas Votruba
66a5285042 Updated Rector to commit cdf7bf581c6a417cfc8fc2b256597f30165d061f
cdf7bf581c [BetterPhpDocParser] Merge PhpDocInfo::getParamTagValueByName() with getParamTagValueNodeByName() (#2703)
2022-07-23 09:02:51 +00:00
Tomas Votruba
1d657845a7 Updated Rector to commit 1836de97836c78ae4c85c1fdce3664688fb1011f
1836de9783 AddReturnTypeDeclarationBasedOnParentClassMethodRector (#2666)
2022-07-22 14:18:53 +00:00
Tomas Votruba
e383186790 Updated Rector to commit 764416672a588c4bd80084a853973773f9835690
764416672a Fix InlineArrayReturnAssignRector and ChangeReadOnlyPropertyWithDefaultValueToConstantRector collision (#2700)
2022-07-21 21:45:25 +00:00
Tomas Votruba
be073d8e55 Updated Rector to commit 1000cd51c57f7672d7e87c312cada4150bd98dd6
1000cd51c5 Attempt to fix incorrect doctrine table attribute values on php 8.1 (#2699)
2022-07-21 21:29:13 +00:00
Tomas Votruba
2f66cf1f32 Updated Rector to commit 07ab6051dff0262c2ee6ea060056bf9e56186ada
07ab6051df [PHPStan] Clean up ignore errors for narrow public (#2697)
2022-07-21 09:19:12 +00:00
Tomas Votruba
aa6004e082 Updated Rector to commit ae31fb60aeb3c49fb47b3fa12c792098e67831c5
ae31fb60ae [PHPStan] Resolve variable name casing (#2689)
2022-07-20 05:05:58 +00:00
Tomas Votruba
f01bc715ee Updated Rector to commit c74cda7cead18dc51061bd8540c64e98a6aec3b8
c74cda7cea Remove UnwrapFutureCompatibleIfFunctionExistsRector as very niche and specific (#2688)
2022-07-19 22:41:37 +00:00
Tomas Votruba
9b6234b1bc Updated Rector to commit b492d2077dfb0ee9c08664747c0c3e8ed73dbc97
b492d2077d [DX] Cleanup, Remove RepeatedLiteralToClassConstantRector, as very narrow use case; use rather phpstan + Remove ChangeLocalPropertyToVariableRector, as buggy and unreliable; better use PHPStan (#2686)
2022-07-19 21:15:00 +00:00
Tomas Votruba
4f969ebd66 Updated Rector to commit c474c67319c9072b81dd9bcb1f4d6f201e1a1e4e
c474c67319 misc (#2678)
2022-07-19 18:25:44 +00:00
Tomas Votruba
ab3565ff17 Updated Rector to commit 0ffaacaf3cf1094d3abfb3e0aee9543d12aa6490
0ffaacaf3c Cleanup set list from old sets (#2684)
2022-07-19 18:21:38 +00:00
Tomas Votruba
e87c453b7e Updated Rector to commit a66e6530decedb25b89c0049da402ec5828034b3
a66e6530de [Transform] Handle crash string in EnumCase on StringToClassConstantRector (#2680)
2022-07-18 23:37:02 +00:00
Tomas Votruba
c855f5df1c Updated Rector to commit 6d7404c65000caede512a5bc5a993f472e11cd0d
6d7404c650 Home cleaning with Exacat 😎 (#2676)
2022-07-18 15:25:27 +00:00
Tomas Votruba
b8d580b548 Updated Rector to commit d1f91502773e1cc2de6fc5c7ee7b2077165f6762
d1f9150277 [CodeQuality] Handle crash attribute used on trait on CallableThisArrayToAnonymousFunctionRector (#2675)
2022-07-18 14:32:34 +00:00
Tomas Votruba
ce84017a24 Updated Rector to commit f6090319c24eb98de56d09353c24b5c30da9e7fc
f6090319c2 [PHPStan] Reduce PHPStan errors for narrow public - take 3 (#2674)
2022-07-17 12:27:00 +00:00
Tomas Votruba
da70700f98 Updated Rector to commit ce32685688660a000848322caadcf336bfc282f8
ce32685688 [PHPStan] Reduce PHPStan errors for narrow public - take 2 (#2673)
2022-07-17 01:16:52 +00:00
Tomas Votruba
46dd47dd4e Updated Rector to commit ac94ddd5bd269b17afc339f39af711c02d56b34a
ac94ddd5bd [PHPStan] Reduce PHPStan errors for narrow public - take 1 (#2672)
2022-07-16 14:24:54 +00:00
Tomas Votruba
0077120e40 Updated Rector to commit db7012edc116426e441645abdc1cffcb8c47ee85
db7012edc1 [Php80] Add implements interface support on single file on AddParamBasedOnParentClassMethodRector (#2660)
2022-07-15 08:20:20 +00:00
Tomas Votruba
4b78498132 Updated Rector to commit 328c43713e7b7ec77675637582117619af012985
328c43713e static fixes (#2661)
2022-07-14 22:29:28 +00:00
Tomas Votruba
ff718bc107 Updated Rector to commit 329b4f2e6f13394b56eb4ad01e020fc651fc83d5
329b4f2e6f [NodeTypeResolver] Refactor ParametersAcceptorSelectorVariantsWrapper to pass CallLike instead of Arg (#2632)
2022-07-05 07:33:24 +00:00
Tomas Votruba
0e7a81986d Updated Rector to commit 931c1472c6676e224979d3910552a3025c4903e9
bcc6764002 add preload for split package 931c1472c6 cs
2022-07-03 21:50:48 +00:00
Tomas Votruba
606cd7be37 Updated Rector to commit 8eedf1878f6882c8cba5b696613828a6ae15790d
8eedf1878f [Php71] Skip First Class Callable on RemoveExtraParametersRector (#2622)
2022-07-03 17:06:40 +00:00
Tomas Votruba
80dae040ce Updated Rector to commit 39a6ed5d83fcb4d96adb9112e2332081b8a6bec6
39a6ed5d83 Enable rule (#2619)
2022-07-03 12:51:23 +00:00
Tomas Votruba
8c06162529 Updated Rector to commit f608461e44c6a4008a2bff6c603ba9d52d3ffacf
f608461e44 Remove RemoveOverriddenValuesRector as flow of control is not reliable and could cause invalid removal (#2614)
2022-07-03 08:06:08 +00:00
Tomas Votruba
3ebe5dd36e Updated Rector to commit 7222eccac1827abdb9ce1565ea18d2de0c98f743
7222eccac1 [TypeDeclaration] Skip AddArrayReturnDocTypeRector on custom phpstan type (#2608)
2022-07-02 21:29:13 +00:00
Tomas Votruba
b50d03dfc6 Updated Rector to commit 87799d5f1d70d6399ed9e72c4ffa8b421c671527
87799d5f1d Add ParametersAcceptorSelectorVariantsWrapper to handle selectFromArgs() on multi variants, fallback to selectSingle (#2607)
2022-07-02 21:18:00 +00:00
Tomas Votruba
8c4e269a9d Updated Rector to commit 6be87763cbe27e0c20d3923df0efe629e5cae6f8
6be87763cb [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
2022-07-01 07:42:17 +00:00
Tomas Votruba
fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba
8582284513 Updated Rector to commit ed92724c846790f1bab66cd81b3e20a6561694ed
ed92724c84 [DX] Try unused public const PHPStan rule (#2595)
2022-06-30 13:57:27 +00:00
Tomas Votruba
4f6ff772bb Updated Rector to commit 82b24679cd1763f610b5356684766658ab9a80fa
82b24679cd [DeadCode] Handle anonymous and arrow function uses in RemoveJustPropertyFetchRector (#2592)
2022-06-30 13:32:41 +00:00
Tomas Votruba
26c0e5c79b Updated Rector to commit 143f743d4ffb63b8fa6649841782d6d48735d472
143f743d4f [DX] Add MissingInSetCommand, to verify what rules are not part of their sets (#2594)
2022-06-30 13:31:25 +00:00
Tomas Votruba
846aa2b4c2 Updated Rector to commit e97dd8f360
e97dd8f360 Use rector downgrade php (#2582)
2022-06-28 12:42:29 +00:00
Tomas Votruba
bebb65659c Updated Rector to commit 92621698c2
92621698c2 [DX] Move UnionTypeFactory to NodeTypeResolver packages (#2581)
2022-06-27 20:29:12 +00:00
Tomas Votruba
a0705ea3d6 Updated Rector to commit 6845975035
6845975035 [Core] Replace deprecated ->enterCatch() with enterCatchType() (#2548)
2022-06-25 16:12:40 +00:00
Tomas Votruba
582aecc7dd Updated Rector to commit 237f603c81
237f603c81 Skip all but exactly one return (#2565)
2022-06-25 16:12:31 +00:00
Tomas Votruba
f8d669f3e6 Updated Rector to commit dcad222eb7
dcad222eb7 [Core] Handle Scope not available on DowngradeArrayIsListRector+DowngradePregUnmatchedAsNullConstantRector (#2556)
2022-06-25 16:11:22 +00:00
Tomas Votruba
4682eeff15 Updated Rector to commit 24d2250c59
24d2250c59 [Parallel] Display stack trace on --debug on parallel (#2561)
2022-06-25 06:53:01 +00:00
Tomas Votruba
baf7c2cd12 Updated Rector to commit 9a683effa9
9a683effa9 Fix @return on StaticDoctrineAnnotationParser and PlainValueParser (#2560)
2022-06-24 05:46:03 +00:00
Tomas Votruba
a74b851a08 Updated Rector to commit 2907687792
2907687792 Fix @return on StaticDoctrineAnnotationParser::resolveAnnotationValue() (#2558)
2022-06-23 20:27:42 +00:00
Tomas Votruba
4522848db4 Updated Rector to commit 005ca33bcb
005ca33bcb [DowngradePhp80] Do not change correct Union array docblock to mixed[] on DowngradeUnionTypeDeclarationRector (#2555)
2022-06-22 22:21:39 +00:00
Tomas Votruba
138ae66a5b Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba
c9b4c3f38d Updated Rector to commit 0fb4f5bfbb
0fb4f5bfbb [Core] Apply Scope Refresh on Enum_ (#2549)
2022-06-21 14:59:06 +00:00
Tomas Votruba
f638f7a12a Updated Rector to commit fe88fbb630
fe88fbb630 [PHP 8.1] Add FirstClassCallableRector (#2544)
2022-06-21 07:39:15 +00:00
Tomas Votruba
1c6f1d1b92 Updated Rector to commit 4eeadae7bf
4eeadae7bf [Php56] Skip multiple catch with same variable on AddDefaultValueForUndefinedVariableRector (#2533)
2022-06-20 07:09:14 +00:00
Tomas Votruba
667b378a17 Updated Rector to commit 88e17ecb10
88e17ecb10 [PHP 7.0] skip non-existing method in StaticCallOnNonStaticToInstanceCallRector (#2532)
2022-06-19 08:57:14 +00:00
Tomas Votruba
36fef87f0f Updated Rector to commit 372e030523
372e030523 [Core] Handle parent return/assign from FuncCall with No Scope (#2525)
2022-06-19 08:24:30 +00:00
Tomas Votruba
18b4fe7497 Updated Rector to commit 3e6c9cf5af
3e6c9cf5af Add DISABLE_AUTO_IMPORT_DOC_BLOCK_NAMES option (#2526)
2022-06-18 22:29:58 +00:00
Tomas Votruba
f788998a40 Updated Rector to commit 9aec92a559
9aec92a559 rollback guard (#2524)
2022-06-17 06:22:21 +00:00
Tomas Votruba
dd31e833a9 Updated Rector to commit ce1c29184d
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba
9cf6755b1b Updated Rector to commit 9679ed6d77
9679ed6d77 [DeadCode] Skip using coealesce assign operator on return on RemoveUnusedPrivatePropertyRector (#2476)
2022-06-11 12:21:18 +00:00
Tomas Votruba
b4891e547c Updated Rector to commit a5340c6f06
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba
7fbc26bbc7 Updated Rector to commit 797cb38b88
797cb38b88 Clean PHPStan errors (#2475)
2022-06-10 14:48:54 +00:00
Tomas Votruba
a9ffd906d7 Updated Rector to commit 368dbb048c
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba
5953030010 Updated Rector to commit 56651d0190
56651d0190 use PHPStan 1.7.12, with new phpdoc-parser to fix endline issue
2022-06-09 12:53:21 +00:00
Tomas Votruba
5121d59961 Updated Rector to commit cb1473a3ac
cb1473a3ac [Renaming] Do not rename class with same name inside different namespace on RenameClassRector (#2455)
2022-06-09 07:37:21 +00:00
Tomas Votruba
4d4534b723 Updated Rector to commit ff931e4b74
ff931e4b74 [CodingStyle] Skip non-empty-string on VarConstantCommentRector (#2451)
2022-06-09 06:15:01 +00:00
Tomas Votruba
7e1e20e9f2 Updated Rector to commit 17b86d4b77
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba
e8d4384fe8 Updated Rector to commit 6c8b3dc9f8
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00
Tomas Votruba
0b4d7cf713 Updated Rector to commit 1a84313089
1a84313089 [Renaming] Skip rename docblock on conflict with alias on RenameClassRector (#2450)
2022-06-07 12:52:01 +00:00
Tomas Votruba
b6a8818d00 Updated Rector to commit cbbe410aff
cbbe410aff string prefixing is still needed
2022-06-07 09:46:15 +00:00
Tomas Votruba
9bb996bfce Updated Rector to commit a9779404d3
a9779404d3 try without prefixing string classes
2022-06-07 09:38:27 +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
91f5aab952 Updated Rector to commit 4f07a4f30f
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +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
08cadc8e87 Updated Rector to commit 38a9718b52
38a9718b52 [CS] Fix dynamic and broken indent detection, allow to configure spacing via RectorConfig::indent() method (#2442)
2022-06-06 09:59:48 +00:00
Tomas Votruba
062970bc82 Updated Rector to commit df5bd5fb79
df5bd5fb79 [DX] Make ClassAnnotationMatcher differentiate between known and unknown classes (#2319)
2022-06-06 08:39:49 +00:00
Tomas Votruba
07acf2086f Updated Rector to commit 40d9102eab
40d9102eab [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
2022-06-06 06:00:07 +00:00
Tomas Votruba
07c6c80c35 Updated Rector to commit 8b4df18bde
8b4df18bde [Renaming] Keep comment on RenameClassRector (#2439)
2022-06-05 06:56:15 +00:00
Tomas Votruba
3113a2404c Updated Rector to commit dbb54b83cc
dbb54b83cc [automated] Re-Generate Nodes/Rectors Documentation (#2438)
2022-06-05 00:39:10 +00:00
Tomas Votruba
43409e9080 Updated Rector to commit 63cd74893d
63cd74893d [DeadCode] Improve RemoveJustPropertyFetchRector and apply (#2435)
2022-06-04 18:08:03 +00:00
Tomas Votruba
03ef1cdc0b Updated Rector to commit b0a6173550
b0a6173550 [DeadCode] Add RemoveJustPropertyFetchRector (#2433)
2022-06-04 17:37:29 +00:00
Tomas Votruba
70b4aeb27a Updated Rector to commit 183493eab8
183493eab8 [DeadCode] Fix RemoveUnusedPrivatePropertyRector with left part of array dim fetch (#2428)
2022-06-04 09:40:28 +00:00
Tomas Votruba
bf28f06a74 Updated Rector to commit 6b9984175f
6b9984175f [Naming] Fix PseudoNamespaceToNamespaceRector reporting on change (#2426)
2022-06-04 08:16:56 +00:00
Tomas Votruba
5349987b1f Updated Rector to commit c3581f9d33
c3581f9d33 Skip used in new ctor (#2425)
2022-06-04 07:44:43 +00:00
Tomas Votruba
98eb7617da Updated Rector to commit 283a9af3f0
283a9af3f0 [Renaming] Skip docblock rename different namespace on RenameClassRector (#2419)
2022-06-04 07:39:10 +00:00
Tomas Votruba
7c9c2460e9 Updated Rector to commit e8f058a6e4
e8f058a6e4 [e2e] Add e2e for parallel process with current directory contains space (#2421)
2022-06-03 20:48:45 +00:00
Tomas Votruba
14da17860d Updated Rector to commit 7722a57d80
7722a57d80 [PHP 8.0] Add return type support to ConstantListClassToEnumRector (#2420)
2022-06-03 07:23:26 +00:00
Tomas Votruba
56db9b2ff8 Updated Rector to commit a73dafd30a
a73dafd30a [PHP 8.0] Add method param to ConstantListClassToEnumRector (#2415)
2022-06-02 09:05:21 +00:00
Tomas Votruba
7f91dc01b6 Updated Rector to commit ba0869a9a5
ba0869a9a5 use directly ParamTagValueNode (#2412)
2022-06-02 07:26:09 +00:00
Tomas Votruba
02c0f07aa0 Updated Rector to commit 9187ff0430
9187ff0430 [Scoped] Update full_build.sh to reflect the current Github workflow for build scoped (#2413)
2022-06-02 07:23:49 +00:00
Tomas Votruba
780f0d3ad8 Updated Rector to commit 06b0b325da
06b0b325da remove victor, it handles only metafiles, not unused classes
2022-06-01 07:38:23 +00:00
Tomas Votruba
d97f14bfef Updated Rector to commit 6ada6d67a5
6ada6d67a5 [PHP 8.0] Fix double annotation change on annotation to attribute (#2403)
2022-05-31 21:44:54 +00:00
Tomas Votruba
79fb9f78db Updated Rector to commit b48271e18f
b48271e18f [DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade readonly class (#2322)
2022-05-31 21:25:48 +00:00
Tomas Votruba
653bbcea94 Updated Rector to commit f01725a084
f01725a084 Use php-parser to work with literal _ number separator (#2321)
2022-05-31 21:16:09 +00:00
Tomas Votruba
89b97a1c0c Updated Rector to commit 73055d87fb
73055d87fb [Attribute] Fix UseAliasNameMatcher for the last part of use import rename (#2402)
2022-05-31 15:46:07 +00:00
Tomas Votruba
4721ef64a8 Updated Rector to commit 02803bf7d5
02803bf7d5 [Attributes] Add UseAliasNameMatcherTest (#2401)
2022-05-31 14:46:02 +00:00
Tomas Votruba
0501290a9d Updated Rector to commit dc6bd9680c
dc6bd9680c [e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector (#2396)
2022-05-31 07:17:00 +00:00
Tomas Votruba
d035c86f90 Updated Rector to commit a7e66d67bd
a7e66d67bd remove excluded files
2022-05-30 00:02:22 +00:00
Tomas Votruba
5b72ec39c6 Updated Rector to commit db57fbaae4
db57fbaae4 Remove myclabs/php-enum dependency (#2388)
2022-05-29 22:41:07 +00:00
Tomas Votruba
3b06db3e32 Updated Rector to commit f4237155a2
f4237155a2 [DowngradePhp81] Handle crash parent Arg is missing scope on DowngradeFirstClassCallableSyntaxRector (#2386)
2022-05-29 16:14:19 +00:00
Tomas Votruba
9a9e8960ee Updated Rector to commit 9cd69c2b3d
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00
Tomas Votruba
94e64470da Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 00:27:30 +00:00
Tomas Votruba
b748edb1e3 Updated Rector to commit 37df55a2fd
37df55a2fd [DX] Remove non-PHP file formatting based on editorconfig, rather let external coding standard tools handle the file format (#2378)
2022-05-27 16:47:28 +00:00