Commit Graph

2852 Commits

Author SHA1 Message Date
Tomas Votruba
e9a18115e4 Updated Rector to commit 3f3fc412140becdc86cc43a6ef87b5be495c9444
3f3fc41214 [CodeQuality][CodingStyle] Handle crash assert( >= 0 &&  >= 0) on combination CodeQuality and CodingStyle rules (#2707)
2022-07-24 07:46:34 +00:00
Tomas Votruba
8e5d4128e7 Updated Rector to commit b047c81634f8325b94d6e5b39fae6a599f65bca8
b047c81634 [automated] Re-Generate Nodes/Rectors Documentation (#2706)
2022-07-24 00:40:22 +00:00
Tomas Votruba
d6319ec783 Rector 0.13.9 2022-07-23 10:55:44 +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
d21608a0d4 Updated Rector to commit c4d6f19b4d6386758b1f7aee3f1a9d4e41b59b42
c4d6f19b4d [TypeDeclaration] Add AddReturnTypeDeclarationBasedOnParentClassMethodRector to type-declaration config set (#2702)
2022-07-22 14:40:56 +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
254b108ff5 Updated Rector to commit ff524c546b9bc82cd5f1dcf3d0870d40d2cd64df
ff524c546b bump deps (#2698)
2022-07-21 11:54:36 +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
951e340c94 Updated Rector to commit 49a8343323c6cc5c40e1ca0ef4b3e6c418848ea7
49a8343323 [PHP 8.1] Keep use stmts in MyCLabsClassToEnumRector enum (#2696)
2022-07-20 13:38:02 +00:00
Tomas Votruba
cebbc835dd Updated Rector to commit 963c48c32a154f0045adde8793492afb0bf3caf2
963c48c32a [PHP 8.1] Extend MyCLabsMethodCallToEnumConstRector with getValue() and static call (#2695)
2022-07-20 13:20:59 +00:00
Tomas Votruba
cce8c4f1c9 Updated Rector to commit aee31cebb921d7213c9ffdf802e7481221c0453c
aee31cebb9 change to list of configs (#2694)
2022-07-20 11:52:30 +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
8a0350a804 Updated Rector to commit 9cb0a5efb59c51c662a4b6eb56753b9cc2174e21
9cb0a5efb5 [PHPStan] Resolve duplicated regex value (#2690)
2022-07-20 05:00:44 +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
3d514a7b40 Updated Rector to commit 0972dedb01bbc4ff1fa83965ffd8b26ab172f1eb
0972dedb01 Extend dead-code set (#2687)
2022-07-19 22:22:01 +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
643657d0ed Updated Rector to commit c3e31f067de83606b46188d26fcca61a3e89c3c8
c3e31f067d move ReturnTypeFromStrictTypedCallRector to enterprise (#2685)
2022-07-19 20:28:05 +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
6f849831d7 Updated Rector to commit d030813bb995528a026e8ea3c84028fd47a4debd
d030813bb9 Clean up skip rector.php config (#2682)
2022-07-19 08:22:01 +00:00
Tomas Votruba
9244858669 Updated Rector to commit ddb08dc9dd6e4a279dd0d88633cdd51ca14581e0
ddb08dc9dd Clean up PHPStan ignore errors (#2681)
2022-07-19 08:04:51 +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
9c5eda645c Updated Rector to commit c9ecc86d7e1621b435aed598317a6962e22e8039
c9ecc86d7e Cleanup of assign void (#2679)
2022-07-18 23:10:43 +00:00
Tomas Votruba
e67795209e Updated Rector to commit f74bdede72ab3a95dfa5f8670b369c2d4cd2e4db
f74bdede72 [CodingStyle] Deprecate PHPStormVarAnnotationRector, rather tokens responsibility (#2677)
2022-07-18 15:33:08 +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
5bce2cfaec Updated Rector to commit 97ef9ff17fb2a92141621baccae2f52d9659d0e6
97ef9ff17f Improve namespace names validation (#2670)
2022-07-16 12:31:38 +00:00
Tomas Votruba
09e7c38ed0 Updated Rector to commit e302870bd68ae670fdaffe529d26b5e1c5347408
e302870bd6 Improve RectorAssert tests + add assert name on rename configs (#2669)
2022-07-16 11:25:49 +00:00
Tomas Votruba
4b2bd56de7 Updated Rector to commit 6577da612c2824c2add06721b903de4cd438631e
6577da612c [DX] Add input validation for method, property and function name to avoid invalid output ast (#2668)
2022-07-16 09:41:53 +00:00
Tomas Votruba
587cd1ea1b Updated Rector to commit e8d0d572934d5faec64d480d9cd985a3823c9c0a
e8d0d57293 Fix getter method property substitution when the readable types don't match. (#2667)
2022-07-15 23:16:52 +00:00
Tomas Votruba
6f2ea78a3d Updated Rector to commit 12ab2ac8277a0899e2440ea36fb50ace4299f444
12ab2ac827 Fix test to only resolve to known classes (#2663)
2022-07-15 20:47:06 +00:00
Tomas Votruba
a05f4bdb4d Updated Rector to commit db7012edc116426e441645abdc1cffcb8c47ee85
db7012edc1 [Php80] Add implements interface support on single file on AddParamBasedOnParentClassMethodRector (#2660)
2022-07-15 15:03:05 +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
ead00ac355 Updated Rector to commit 84012e4ac915dd5d8e7527bffdec302d53dc222e
84012e4ac9 Static type improvements (#2662)
2022-07-15 08:14:37 +00:00
Tomas Votruba
f75d563163 Updated Rector to commit 8a6b70456e536174d88a29c865bed73a6fa89534
8a6b70456e [Core] Move check CREATED_BY_RULE attribute from AbstractRector into RectifiedAnalyzer (#2665)
2022-07-15 08:02:59 +00:00
Tomas Votruba
4b78498132 Updated Rector to commit 328c43713e7b7ec77675637582117619af012985
328c43713e static fixes (#2661)
2022-07-14 22:29:28 +00:00
Tomas Votruba
24b5f6d999 Updated Rector to commit 14b5cb1d6747f44e827dcce2160105dc17496927
14b5cb1d67 [TypeDeclaration] Skip property exists in parent on TypedPropertyFromStrictConstructorRector (#2659)
2022-07-14 00:42:36 +00:00
Tomas Votruba
9d2c3a2853 Updated Rector to commit ae7648ed92396d39b4d364328312250b2c66f40e
ae7648ed92 [CodingStyle] Add StaticClosureRector (#2658)
2022-07-13 20:35:23 +00:00
Tomas Votruba
2747e037dd Updated Rector to commit 743fef03d939a8a4fc4aa9364df057854e97e5c7
743fef03d9 [CodingStyle] Add StaticArrowFunctionRector (#2657)
2022-07-13 16:07:41 +00:00
Tomas Votruba
4ddedc166e Updated Rector to commit b1ae9a141523ee35af1f63aab39d945e8df03275
b1ae9a1415 [DeadCode] Handle crash on indirect parent BinaryOp on RemoveDuplicatedInstanceOfRector (#2652)
2022-07-11 13:39:30 +00:00
Tomas Votruba
10beeee699 Updated Rector to commit aae75c63d5b30a61bcd9fae806ee201530a54669
aae75c63d5 [Php74] Skip TypedPropertyRector on final class by @final docblock (#2654)
2022-07-11 13:39:15 +00:00
Tomas Votruba
5741d7a8f3 Updated Rector to commit 5debc09c986ee0d92de270d4cd170f6285c430e8
5debc09c98 [TypeDeclaration] Skip modififed type between assign and return on ReturnTypeFromStrictNewArrayRector (#2651)
2022-07-10 17:47:25 +00:00
Tomas Votruba
0837a1f067 Updated Rector to commit 7e1c2bb2b9a0b8d5342499e0dbb8ebee921769d0
7e1c2bb2b9 [TypeDeclaration] Skip Type modified between Assign and Return_ on ReturnTypeFromReturnNewRector (#2650)
2022-07-10 15:47:24 +00:00
Tomas Votruba
368ad1b2c7 Updated Rector to commit f5896ace8c46fcfb1936946052e57623cced7f60
f5896ace8c [automated] Apply Coding Standard (#2649)
2022-07-10 00:42:06 +00:00
Tomas Votruba
fe7e52ca87 Updated Rector to commit d3cb26f2d3de667ace15710e5d52f2be61dd9613
d3cb26f2d3 DependencyClassMethodDecorator: Prevent duplication of arguments (#2643)
2022-07-09 19:04:30 +00:00
Tomas Votruba
02fd732f10 Updated Rector to commit 17ba943afd637b6df317a646c9406318aeb2848a
17ba943afd [TypeDeclaration] Skip assign override in ReturnTypeFromReturnNewRector (#2648)
2022-07-09 15:11:27 +00:00
Tomas Votruba
42d59f4003 Updated Rector to commit e8e2db769d857346202bc0f59ab4a618ee5b5202
e8e2db769d [TypeDeclaration] Add assigned new to variable in ReturnTypeFromReturnNewRector (#2647)
2022-07-09 14:55:41 +00:00
Tomas Votruba
8b3c974a42 Updated Rector to commit fba410bf6ed6da0657cb8ec939a22ad3988fc4ad
fba410bf6e [StrictTypes] Add MethodCall/StaticCall to ExclusiveNativeCallLikeReturnMatcher (#2646)
2022-07-09 14:14:37 +00:00
Tomas Votruba
3f8078b17e Updated Rector to commit f9916a10977a7000c126a01e17bf7c6f69ccf737
f9916a1097 Clean up PHPStan ignore errors (#2645)
2022-07-09 09:15:55 +00:00
Tomas Votruba
3e3d9cabe0 Updated Rector to commit 02cec7ebc43469d599cc6a66945e239267626ed6
02cec7ebc4 [DeadCode] Skip global and static variable on ReturnEarlyIfVariableRector (#2642)
2022-07-08 21:40:34 +00:00
Tomas Votruba
c2a85841bd Updated Rector to commit bf92b9c360eccb0a95b3b7f4a41efc4f875e5723
bf92b9c360 [DeadCode] Skip global and static variable on RemoveJustVariableAssignRector (#2641)
2022-07-08 21:39:04 +00:00
Tomas Votruba
6e01478f82 Rector 0.13.8 2022-07-07 09:46:05 +00:00
Tomas Votruba
239f91295e Updated Rector to commit b67bf649899000a913c4c91ec7ce43b165aa471d
b67bf64989 move ParamTypeByParentCallTypeRector to type-declaration-strict set
2022-07-07 09:23:09 +00:00
Tomas Votruba
336a52b5de Updated Rector to commit 22f2acadf73bc00a350b6b457db51eb5e0353d89
22f2acadf7 [TypeDeclaration] Do not change more detailed return doc on ReturnTypeFromStrictNewArrayRector (#2638)
2022-07-07 09:00:19 +00:00
Tomas Votruba
e86c09a91b Updated Rector to commit 7916cd907d55e32e9711ee7dc07ed45016eff152
7916cd907d [DX] Remove doctrine collection responsibility to TypedPropertyRector (#2640)
2022-07-06 19:39:27 +00:00
Tomas Votruba
331fec3c26 Updated Rector to commit e6cc503e24bbbc362d6e05b4f4a322ff97c09457
e6cc503e24 remove memory limit (#2639)
2022-07-06 19:24:32 +00:00
Tomas Votruba
920b431195 Updated Rector to commit 53bddfb185b596a354ac946cec2788a169ae4fe6
53bddfb185 [DX] make use of TypeCombinator to detect null type (#2637)
2022-07-06 12:58:08 +00:00
Tomas Votruba
81662109e0 Updated Rector to commit 649e5119376355e4d009f5db569b3785d10aaa37
649e511937 [TypeDeclaration] Add TypedPropertyFromStrictSetUpRector (#2636)
2022-07-06 11:56:20 +00:00
Tomas Votruba
4c0b7dbc90 Updated Rector to commit 3f877913606cc29dd71cf937119b90177ad2b14c
3f87791360 [Core] Refactor AbstractRector::enterNode() on return single Node (#2635)
2022-07-06 09:03:07 +00:00
Tomas Votruba
4734e9dd3e Updated Rector to commit 2267ca2a16768e21da5fbfff53844ab5fb87f264
2267ca2a16 [DeadCode] Do not remove first class callable VariadicPlaceholder arg on RemoveUnusedPrivateMethodParameterRector (#2634)
2022-07-05 18:24:55 +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
89aeab0334 Updated Rector to commit d7a1c70813cbddee2048769afc870bde24be9225
d7a1c70813 [Php80] Skip no default on case collection assign on ChangeSwitchToMatchRector (#2631)
2022-07-04 21:30:24 +00:00
Tomas Votruba
6ee0c41d99 Updated Rector to commit 8c8def55a0b14847b08bd05049d4dbe8669cc64e
8c8def55a0 [CodingStyle] Handle VarConstantCommentRector+NewlineAfterStatementRector (#2629)
2022-07-04 17:02:56 +00:00
Tomas Votruba
a40cc18430 Updated Rector to commit 9ab8ce06cbf1f5244d90fcd4e193784f8c13b8ef
9ab8ce06cb [Core] Return early NodeTraverser::STOP_TRAVERSAL on referenced  is true on ParamAnalyzer (#2630)
2022-07-04 14:51:17 +00:00
Tomas Votruba
b050f5de99 Updated Rector to commit a70d0e5518260479d055a0d5a90e28e43cad58f7
a70d0e5518 [Php54] Rename ArrayToShortArrayRector to LongArrayToShortArrayRector (#2628)
2022-07-03 23:03:40 +00:00
Tomas Votruba
043ee19675 Updated Rector to commit 3582024a0d125b8f1706a5c8114f4dbc0a3b0fa1
3582024a0d [docs] Add downgrade PHP
2022-07-03 22:03:53 +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
68e1f45251 Updated Rector to commit 4d01db5c10372f2a0a7cf63ec51fa7e2913ee2a3
4d01db5c10 [DX] Improve direct return of Stmt arrays in Rector rules, remove NodesToAddCollector from AbstractRector (#2623)
2022-07-03 21:09:19 +00:00
Tomas Votruba
175fded020 Updated Rector to commit f8221e3e21c487f2d18707f7b979ef6607204826
f8221e3e21 [CodeQuality] Fix CompactToVariablesRector to resolve values when the compact() is called (#2627)
2022-07-03 20:44:15 +00:00
Tomas Votruba
b682e0bcdf Updated Rector to commit 646d1888a42854bfa2af3b7537b0e1efbeccaf0a
646d1888a4 [Transform] Remove CallableInMethodCallToVariableRector as very narrow use case and sensitive to wrong change (#2625)
2022-07-03 20:35:15 +00:00
Tomas Votruba
3d95b4f79c Updated Rector to commit f78af109208cfe6c217a89ecd80fb7a5a5c518e9
f78af10920 [EarlyReturn] Remove ReturnAfterToEarlyOnBreakRector as risky and turning around next/previous nodes (#2624)
2022-07-03 20:28:06 +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
76fb7eb0e9 Updated Rector to commit dfc6e1d9c05a4ab0c861332298d3184763d9ebfb
dfc6e1d9c0 [DeadCode] Handle edge cases on RemoveJustVariableAssignRector (#2621)
2022-07-03 14:34:26 +00:00
Tomas Votruba
e2494b520d Updated Rector to commit 312099474a70e8ccc361a329bd3ccbc7e4c63a96
312099474a Decouple parent type for scope (#2620)
2022-07-03 14:22:15 +00:00
Tomas Votruba
80dae040ce Updated Rector to commit 39a6ed5d83fcb4d96adb9112e2332081b8a6bec6
39a6ed5d83 Enable rule (#2619)
2022-07-03 12:51:23 +00:00
Tomas Votruba
4153a8246a Updated Rector to commit 45c91eb8ba874853d5717d7267c85776b2502f9d
45c91eb8ba [DeadCode] Add RemoveJustVariableAssignRector (#2618)
2022-07-03 12:43:42 +00:00
Tomas Votruba
fbcfb0e30f Updated Rector to commit b45066c505a7bd3569819cee71706ebf0f763b6e
b45066c505 [dx] remove direct assigns (#2617)
2022-07-03 12:14:45 +00:00
Tomas Votruba
189f399cf2 Updated Rector to commit 0660b21ecec553393226003c16432a626e20f8ec
0660b21ece [Php54] Add ArrayToShortArrayRector (#2615)
2022-07-03 11:40:45 +00:00
Tomas Votruba
7a4cfee22c Updated Rector to commit 25accb21425957d4da0db801465570e4c62014ff
25accb2142 [EarlyReturn] Skip ReturnEarlyIfVariableRector with @var doc (#2616)
2022-07-03 11:23:14 +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
3737ef475a Updated Rector to commit 5972ff7417911319f1ce754636937cd07af2a04c
5972ff7417 [EarlyReturn] Mirror comment on ReturnEarlyIfVariableRector (#2612)
2022-07-03 07:04:34 +00:00
Tomas Votruba
a4cb18fa00 Updated Rector to commit 153c037739a0154195b52d74217d5b025b3936ac
153c037739 [automated] Re-Generate Nodes/Rectors Documentation (#2611)
2022-07-03 00:35:39 +00:00
Tomas Votruba
2ef7fcfcd2 Updated Rector to commit 23bad1ec21a1ba71c748073cae083ce55484e1a7
23bad1ec21 [EarlyReturn] Add ReturnEarlyIfVariableRector (#2609)
2022-07-02 22:36:41 +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
d8601711a3 Updated Rector to commit c3d53b1f4b6f7667d65a4a77e9cc6ccd20fe16de
c3d53b1f4b [Core] Remove UnreachableStmtAnalyzer (#2610)
2022-07-02 21:13:38 +00:00
Tomas Votruba
299f511d80 Updated Rector to commit 3e66b4a6348e2d106dc714760c946003bdc9807d
3e66b4a634 add multi args acceptor (#2605)
2022-07-02 09:10:33 +00:00
Tomas Votruba
7b91c0386b Updated Rector to commit 3e66b4a6348e2d106dc714760c946003bdc9807d
3e66b4a634 add multi args acceptor (#2605)
2022-07-01 14:24:55 +00:00
Tomas Votruba
84dff4485c Updated Rector to commit 12f380b343bc991d5b138206d68cd244d0aca776
12f380b343 Add edge cases to skip (#2604)
2022-07-01 13:50:24 +00:00
Tomas Votruba
2524b7ef68 Updated Rector to commit 89a7a4dfbb3e05a306c0f5b9950c28588d4f2af9
89a7a4dfbb [TypeDeclaration] Add ReturnTypeFromStrictScalarReturnExprRector (#2601)
2022-07-01 13:42:45 +00:00
Tomas Votruba
9b93bb7c42 Updated Rector to commit ed8e26eb3bb471b93c20b3b10c431f13a543cbaa
ed8e26eb3b rebuild docs
2022-07-01 07:44:56 +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
e4686081a5 Updated Rector to commit 29935703b1f53a5588adece78f23c53b5b07fec4
29935703b1 keep RELEASE_DATE const as part of public api (#2596)
2022-06-30 14:09:44 +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
ff3ea12e20 Updated Rector to commit 09df9d00bd01094d8e5921a2aadd9f6298f333be
09df9d00bd [DeadCode] Handle collection of Case_ on RemoveUnreachableStatementRector (#2593)
2022-06-30 12:46:02 +00:00
Tomas Votruba
b3b9e9867d Updated Rector to commit 945fcc81ba3030f276e0a2d0cc8dd554e5e3171e
945fcc81ba [DeadCode] Handle always terminated Switch_ on RemoveUnreachableStatementRector (#2591)
2022-06-30 08:03:44 +00:00
Tomas Votruba
d6e035e01a Updated Rector to commit 7c8b23b02d
7c8b23b02d [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
2022-06-29 16:03:56 +00:00
Tomas Votruba
39d9381da5 Updated Rector to commit 407ad5fc5e
407ad5fc5e remove unused reference
2022-06-29 15:03:44 +00:00
Tomas Votruba
3574bf6399 Rector 0.13.7 2022-06-29 12:00:57 +00:00
Tomas Votruba
b8ba3df855 Updated Rector to commit 4ef72542a3
4ef72542a3 fix static
2022-06-29 12:00:10 +00:00
Tomas Votruba
19c1fb9829 Updated Rector to commit 87b3ad56dd
87b3ad56dd Remove SmartFileInfo registration in bootstrap.php (#2589)
2022-06-29 11:52:41 +00:00
Tomas Votruba
f0abc6fd73 Updated Rector to commit 250bcbbd2f
250bcbbd2f Bump PHPStan to 1.8 (#2588)
2022-06-29 11:05:24 +00:00
Tomas Votruba
6f73a90692 Updated Rector to commit d1807682bf
d1807682bf [Core] Apply auto fallback to use Scope from File when Node both doesnot has parent Node and Scope (#2587)
2022-06-29 09:55:25 +00:00
Tomas Votruba
7cf1d35492 Updated Rector to commit 1d037d151f
1d037d151f Clean up phpstan ignore errors (#2584)
2022-06-28 16:44:22 +00:00
Tomas Votruba
0b6c455d19 Updated Rector to commit 719191352d
719191352d clean up tweak package test workflow (#2583)
2022-06-28 14:46:16 +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
f2b6b30624 Updated Rector to commit e81691f1c6
e81691f1c6 [DowngradePhp80] Add DowngradeMixedTypeTypedPropertyRector (#2579)
2022-06-27 12:30:57 +00:00
Tomas Votruba
ec6f7db42d Updated Rector to commit 89a684f2b7
89a684f2b7 [Core] Apply Scope refresh for Namespace_ and FileWithoutNamespace (#2569)
2022-06-27 08:32:39 +00:00
Tomas Votruba
69f0d6887b Updated Rector to commit 0a644b148b
0a644b148b [TypeDeclaration] Measure complexity by array shape nesting (#2576)
2022-06-26 15:09:52 +00:00
Tomas Votruba
34a79bec5d Updated Rector to commit 59ed8480e4
59ed8480e4 [TypeDeclaration] Add more precise array type doc (#2575)
2022-06-26 14:43:06 +00:00
Tomas Votruba
b2e913a042 Updated Rector to commit a11dd6a534
a11dd6a534 [TypeDeclaration] Add more precise array type doc (#2574)
2022-06-26 14:05:53 +00:00
Tomas Votruba
0522de2970 Updated Rector to commit cf8cbcd4cb
cf8cbcd4cb [Core] Refactor CreatedByRuleDecorator to only set CREATED_BY_RULE on target Node when class is equals (#2573)
2022-06-26 13:53:02 +00:00
Tomas Votruba
2e275ef1ff Updated Rector to commit 78d110af4c
78d110af4c [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572)
2022-06-26 11:48:44 +00:00
Tomas Votruba
68845a00bf Updated Rector to commit 80715e62b5
80715e62b5 [CodeQuality] Drop ArrayThisCallToThisMethodCallRector as changes behavior and better handled by FirstClassCallableRector (#2571)
2022-06-26 10:18:31 +00:00
Tomas Votruba
65284cc98a Updated Rector to commit 237f255023
237f255023 [TypeDeclaration] Add ReturnTypeFromStrictNativeFuncCallRector (#2570)
2022-06-26 10:02:03 +00:00
Tomas Votruba
13fb2e3eb1 Updated Rector to commit e42466004e
e42466004e [types] Skip test case in ArrayShapeFromConstantArrayReturnRector (#2568)
2022-06-25 20:03:31 +00:00
Tomas Votruba
fce82edc61 Updated Rector to commit f517e29acd
f517e29acd fix return type to PHP 7.0
2022-06-25 19:37:16 +00:00
Tomas Votruba
156b4d421d Updated Rector to commit 4121a5da62
4121a5da62 [TypeDeclaration] Add multi return support to ReturnTypeFromStrictReturnExprRector (#2567)
2022-06-25 16:48:22 +00:00
Tomas Votruba
b0a44e83a2 Updated Rector to commit c6fe564d27
c6fe564d27 [TypeDeclaration] Handle inner function Yield and Return_ on ReturnTypeFromStrictReturnExprRector (#2566)
2022-06-25 16:33:06 +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
fcc93743fa Updated Rector to commit 82f1bb30c2
82f1bb30c2 [Core] Handle Scope not available on CallableThisArrayToAnonymousFunctionRector+CountArrayToEmptyArrayComparisonRector (#2552)
2022-06-25 16:12:12 +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
dcc41f4563 Updated Rector to commit 7391b856dd
7391b856dd rebuild docs
2022-06-25 15:02:55 +00:00
Tomas Votruba
552fa76d7c Updated Rector to commit 859999c33a
859999c33a require at least PHP 7.4
2022-06-25 14:55:09 +00:00
Tomas Votruba
535101d1ee Updated Rector to commit ac7b2d4783
ac7b2d4783 Extract bool type analyzer (#2564)
2022-06-25 14:47:31 +00:00
Tomas Votruba
c10f29b7bb Updated Rector to commit 42707709f7
42707709f7 [TypeDeclaration] Kick off ReturnTypeFromStrictReturnExprRector (#2563)
2022-06-25 14:38:11 +00:00
Tomas Votruba
a0db66f4be Updated Rector to commit 564c127680
564c127680 [fix] Skip doc-types in ReturnStrictTypeAnalyzer (#2562)
2022-06-25 13:21:09 +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
b27efafdc1 Updated Rector to commit 38b6b60b24
38b6b60b24 Clean MethodToMethodCallRector (#2554)
2022-06-24 11:11:40 +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
8643b18ecc Updated Rector to commit bab38355ae
bab38355ae [TypeDeclaration] Skip string type override nullable string return on AddReturnTypeDeclarationRector (#2559)
2022-06-23 20:42:36 +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
5c1a3199d3 Updated Rector to commit 574e000de6
574e000de6 [Php54] Add MethodCall and StaticCall support on RemoveReferenceFromCallRector (#2553)
2022-06-22 11:51:58 +00:00
Tomas Votruba
7667c349a1 Updated Rector to commit 6c0332cd60
6c0332cd60 [PSR4] Do not remove declare(strict_types=1) on NormalizeNamespaceByPSR4ComposerAutoloadRector (#2551)
2022-06-22 07:49:49 +00:00
Tomas Votruba
09d862a443 Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 23:59:33 +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
3e494a7524 Rector 0.13.6 2022-06-21 15:26:14 +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
7e8b6a22aa Updated Rector to commit e8ca23fd15
e8ca23fd15 [Php81] NullToStrictStringFuncCallArgRector - Register more function (#2543)
2022-06-21 10:27:51 +00:00
Tomas Votruba
8c3b690acb Updated Rector to commit 79b25e861d
79b25e861d [DeadCode] Handle always terminated If_ ElseIf_[] Else_ on RemoveUnreachableStatementRector (#2547)
2022-06-21 10:20:21 +00:00
Tomas Votruba
7547ec311c Updated Rector to commit dd4064e431
dd4064e431 cleanup php-version bound tests, now under one version no need to separate (#2546)
2022-06-21 08:08:29 +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
bb396cb5b1 Updated Rector to commit 6c713a776c
6c713a776c [DeadCode] Handle always terminated TryCatch on RemoveUnreachableStatementRector (#2545)
2022-06-21 06:34:28 +00:00
Tomas Votruba
9550950b4e Updated Rector to commit a16bc1b576
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 17:57:13 +00:00
Tomas Votruba
491ac4d181 Updated Rector to commit a16bc1b576
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 15:12:00 +00:00
Tomas Votruba
c1ace7d7d7 Updated Rector to commit d4ec140212
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 15:00:36 +00:00
Tomas Votruba
6df03b5f94 Updated Rector to commit d4ec140212
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 14:51:15 +00:00
Tomas Votruba
6c8432ebfa Updated Rector to commit 26a2a5aab5
26a2a5aab5 [PHPStan] Fix PHPStan notice on MultiDirnameRector (#2540)
2022-06-20 14:04:59 +00:00
Tomas Votruba
709c724831 Updated Rector to commit 945889cfb4
945889cfb4 Forbid PHPStan ClassMethod to avoid false type miss-matches (#2538)
2022-06-20 13:08:32 +00:00
Tomas Votruba
76fe03af38 Updated Rector to commit 21fc218e08
21fc218e08 [Core] AbstractScopeAwareRector is ready to be used in custom rules (#2537)
2022-06-20 13:06:04 +00:00
Tomas Votruba
1e1549f2d5 Updated Rector to commit f4a9b50187
f4a9b50187 [Php80] Skip Assign on its var not directly used in next return on ChangeSwitchToMatchRector (#2535)
2022-06-20 07:10:51 +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
570ffb84f2 Updated Rector to commit 87b3dad341
87b3dad341 [Scoped] Register src/functions functions list to scoper config (#2536)
2022-06-20 07:07:15 +00:00
Tomas Votruba
0eee0934e4 Updated Rector to commit e22941a7f7
e22941a7f7 [PHP 7.4] Skip default expr type on property, if there is mixed assign (#2534)
2022-06-19 20:07:30 +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
f3c64cc79f Updated Rector to commit 1a3288b2d9
1a3288b2d9 [Transform] Handle with this->method() from current class on MethodCallToMethodCallRector (#2531)
2022-06-18 22:08:34 +00:00
Tomas Votruba
476eee8d3e Updated Rector to commit c80d7e1f8d
c80d7e1f8d Improve closure node construction to just-in-time (#2529)
2022-06-17 21:00:38 +00:00
Tomas Votruba
40e124c320 Updated Rector to commit 7129067a8a
7129067a8a [CodeQuality] Fix default array param in CallableThisArrayToAnonymousFunctionRector (#2527)
2022-06-17 19:25:55 +00:00
Tomas Votruba
f4e63e9666 Updated Rector to commit b31c654cca
b31c654cca use generate-changelog name directly
2022-06-17 16:45:48 +00:00
Tomas Votruba
8b000ddfe5 Updated Rector to commit 064d38be75
064d38be75 [Php81] Skip param reassign on ReadOnlyPropertyRector (#2498)
2022-06-17 07:22:25 +00:00
Tomas Votruba
f788998a40 Updated Rector to commit 9aec92a559
9aec92a559 rollback guard (#2524)
2022-06-17 06:22:21 +00:00
Tomas Votruba
7104c57aee Updated Rector to commit 3168114f48
3168114f48 use arrow functions (#2522)
2022-06-16 17:58:23 +00:00
Tomas Votruba
8baeeb7757 Updated Rector to commit 1b636b63e8
1b636b63e8 [e2e] Add e2e parent is BinaryOp from FuncCall with No Scope (#2500)
2022-06-16 16:59:11 +00:00
Tomas Votruba
3bf77b5204 Updated Rector to commit fc90ad2eb4
fc90ad2eb4 [TypeDeclaration] Skip implements mixed, and already has typed return on AddReturnTypeDeclarationRector (#2509)
2022-06-16 15:16:19 +00:00
Tomas Votruba
a5f127b615 Updated Rector to commit 7b86097258
7b86097258 nullable type declaration for default null value (#2502)
2022-06-16 14:18:17 +00:00
Tomas Votruba
040df38ae9 Updated Rector to commit 20e187c070
20e187c070 static lambda (#2505)
2022-06-16 14:14:21 +00:00
Tomas Votruba
ad124eac3f Updated Rector to commit f2035db06d
f2035db06d fix wrong guard location (#2497)
2022-06-16 11:26:51 +00:00
Tomas Votruba
de3cb6a3c1 Updated Rector to commit f2035db06d
f2035db06d fix wrong guard location (#2497)
2022-06-16 11:12:10 +00:00
Tomas Votruba
e94460a905 Updated Rector to commit f2035db06d
f2035db06d fix wrong guard location (#2497)
2022-06-16 08:12:56 +00:00
Tomas Votruba
620e52804f Updated Rector to commit bba4a94719
bba4a94719 [Php81] Fix crash on redis->set() on ReadOnlyPropertyRector (#2494)
2022-06-16 05:33:19 +00:00
Tomas Votruba
80a3820ca7 Updated Rector to commit 10fd4c3498
10fd4c3498 [Php70] Refactor MultiDirnameRector by moving nestingLevel check to separate method (#2488)
2022-06-15 07:03:39 +00:00
Tomas Votruba
f01cff4ff3 Updated Rector to commit 10fd4c3498
10fd4c3498 [Php70] Refactor MultiDirnameRector by moving nestingLevel check to separate method (#2488)
2022-06-14 06:50:56 +00:00
Tomas Votruba
d88782de2e Updated Rector to commit b536a67738
b536a67738 [Scoped][e2e] Fix standalone rule test on scoped build (#2491)
2022-06-14 06:49:40 +00:00
Tomas Votruba
a3ff5f7dfe Updated Rector to commit aceb0e8a93
aceb0e8a93 bump deps (#2490)
2022-06-13 23:15:18 +00:00
Tomas Votruba
fa8e606d26 Updated Rector to commit 49fc61c1ff
49fc61c1ff Bump to Symplify 11 (#2489)
2022-06-13 23:08:50 +00:00
Tomas Votruba
75264243ca Updated Rector to commit ef4267ebf0
ef4267ebf0 [PSR4] Handle invalid missing ; on NormalizeNamespaceByPSR4ComposerAutoloadRector with GroupUse (#2485)
2022-06-13 11:51:53 +00:00
Tomas Votruba
1ca568d18c Updated Rector to commit 332aad337e
332aad337e fix casing of enums
2022-06-13 09:09:58 +00:00
Tomas Votruba
b8c32ad549 Updated Rector to commit 6f164da439
6f164da439 [Php55] Handle crash on concat variable single quote on PregReplaceEModifierRector (#2483)
2022-06-13 07:49:24 +00:00
Tomas Votruba
446e9f7d20 Updated Rector to commit 6f164da439
6f164da439 [Php55] Handle crash on concat variable single quote on PregReplaceEModifierRector (#2483)
2022-06-13 06:59:41 +00:00
Tomas Votruba
a1d7c79c1b Updated Rector to commit 28ed5cf916
28ed5cf916 [automated] Re-Generate Nodes/Rectors Documentation (#2479)
2022-06-12 14:01:14 +00:00
Tomas Votruba
7a181db4ce Updated Rector to commit 28ed5cf916
28ed5cf916 [automated] Re-Generate Nodes/Rectors Documentation (#2479)
2022-06-12 00:34:46 +00:00
Tomas Votruba
7efb3b4f5f Updated Rector to commit e1188e9bff
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 16:43:01 +00:00
Tomas Votruba
524ce1d84d Updated Rector to commit e1188e9bff
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 16:29:43 +00:00
Tomas Votruba
836530a699 Updated Rector to commit e1188e9bff
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 15:50:57 +00:00
Tomas Votruba
7800c7ad15 Updated Rector to commit e1188e9bff
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 14:03:15 +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
6e209432c2 Updated Rector to commit a8dae7ff8f
a8dae7ff8f [TypeDeclaration] Skip generic on ReturnTypeDeclarationRector (#2469)
2022-06-11 11:59:38 +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
aac6955d81 Updated Rector to commit a6fb82623b
a6fb82623b Bump to phpstan/phpdoc-parser 1.6.2 (#2473)
2022-06-10 12:53:57 +00:00
Tomas Votruba
418223409c Updated Rector to commit a6fb82623b
a6fb82623b Bump to phpstan/phpdoc-parser 1.6.2 (#2473)
2022-06-10 10:17:45 +00:00
Tomas Votruba
a262e411c8 Updated Rector to commit db6623f608
db6623f608 Update phpdoc-parser conflict config to <1.6 on scoped build (#2472)
2022-06-10 09:57:49 +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
fd299c83a6 Updated Rector to commit 712174b300
712174b300 Update packages-tests github action to use latest phpdoc-parser (#2467)
2022-06-09 13:32:28 +00:00
Tomas Votruba
e06ff95f2b Updated Rector to commit 6f3eaff305
6f3eaff305 cleanup
2022-06-09 13:26:21 +00:00
Tomas Votruba
4170aad294 Rector 0.13.5 2022-06-09 12:54:02 +00:00
Tomas Votruba
6206a200a9 Updated Rector to commit e7ec08fe91
e7ec08fe91 [phpdoc-parser] Add new TokenIterator to preload, to fix removed endline bug (#2466)
2022-06-09 12:53:32 +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
2d4d997d1e Updated Rector to commit 78954bb4a3
78954bb4a3 Use phpstan/phpdoc-parser 1.5.* to avoid space removal (#2464)
2022-06-09 11:51:38 +00:00
Tomas Votruba
6d1d83e43b Updated Rector to commit ca02184695
ca02184695 [Scoped] Remove e2e/container-configurator on scoped build (#2463)
2022-06-09 11:14:30 +00:00
Tomas Votruba
eab02488bd Updated Rector to commit ca02184695
ca02184695 [Scoped] Remove e2e/container-configurator on scoped build (#2463)
2022-06-09 11:08:44 +00:00
Tomas Votruba
f188888181 Updated Rector to commit bdf11c5968
bdf11c5968 [DX] Add deprecation exception about old ContainerConfigurator, to prepare for removal even in CI
2022-06-09 10:19:12 +00:00
Tomas Votruba
bfad5344a5 Updated Rector to commit d1b7a49e35
d1b7a49e35 [DeadCode][Php73] Ensure return  only when changed on RemoveDuplicatedCaseInSwitchRector+RegexDashEscapeRector (#2462)
2022-06-09 10:09:44 +00:00
Tomas Votruba
63f3dad444 Updated Rector to commit eaea281956
eaea281956 [Php70] Handle crash on EregToPregMatchRector (#2460)
2022-06-09 09:47:09 +00:00
Tomas Votruba
20216aa923 Updated Rector to commit f2300baf89
f2300baf89 [Php72] Handle crash on PreInc usage on CreateFunctionToAnonymousFunctionRector (#2456)
2022-06-09 07:57:48 +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
360522388d Updated Rector to commit ba48cd2d87
ba48cd2d87 [Core] Ensure re-index node attributes (stmts, params, uses, args) on ChangedNodeScopeRefresher (#2458)
2022-06-09 06:26:00 +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
1fa4d2afe7 Updated Rector to commit 5e3c2e71e0
5e3c2e71e0 exclude polyfills in generics way from php-scoper docs
2022-06-07 10:39:08 +00:00
Tomas Votruba
590a0d06cc Updated Rector to commit 68b2dbfaf6
68b2dbfaf6 [Scoped] Update build script with no need define php 8.0 setup (#2449)
2022-06-07 10:02:50 +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
e7d4784b89 Updated Rector to commit 8b66dc8439
8b66dc8439 remove slashed covered
2022-06-07 09:32:14 +00:00
Tomas Votruba
a191c352b7 Updated Rector to commit d4b7b48e6d
d4b7b48e6d [scoped] Build with Scoper 0.17.2 (#2445)
2022-06-07 09:28:41 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
479703e959 Updated Rector to commit 1116aab54d9dc5f9c660dcbfc2a6e1e0ad141d61
1116aab54d slash
2022-06-07 09:04:14 +00:00
Tomas Votruba
f985e015b4 Updated Rector to commit e6ef575170e45ec3b37f9c907a58d43172103eb8
e6ef575170 expose rector running constant
2022-06-07 09:02:30 +00:00
Tomas Votruba
a3c86b2b50 Updated Rector to commit df529df379052abcc8350f14635ccb4f89c6eadb
df529df379 complete polyfill list
2022-06-07 08:30:51 +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
869b6f99f5 Updated Rector to commit 39c7ae65e9
39c7ae65e9 return
2022-06-07 07:41:04 +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
4eabd6d355 Updated Rector to commit 0c16eb2ad9
0c16eb2ad9 remove old CI check
2022-06-06 20:50:54 +00:00
Tomas Votruba
056b61b479 Updated Rector to commit f261e0fea9
f261e0fea9 fix cs
2022-06-06 17:47:30 +00:00
Tomas Votruba
ce4163704e Updated Rector to commit ae4e6ac61b
ae4e6ac61b remove unused ScoperOption
2022-06-06 17:46:54 +00:00
Tomas Votruba
614fb9421f Updated Rector to commit 1d577017ee
1d577017ee [CI] use no diffs to clean the output
2022-06-06 17:43:10 +00:00
Tomas Votruba
537dffbeb2 Updated Rector to commit c71f34afbe
c71f34afbe remove old test
2022-06-06 17:35:24 +00:00
Tomas Votruba
da1eb8d817 Updated Rector to commit bd0104d6c6
bd0104d6c6 [DX] Detach typo3 from core to allow stable growth of both packages (#2446)
2022-06-06 17:33:21 +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
cc91bd4f07 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 15:55:14 +00:00
Tomas Votruba
3dab591b7e Updated Rector to commit ddd88a8800
ddd88a8800 [DX] Remove symlinks option to require safe way of providing explicit paths (#2443)
2022-06-06 11:33:16 +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
a020925efc Updated Rector to commit 1c64bb1fb0
1c64bb1fb0 [CI] shorten waiting times for packagist and deploy to speed-up process
2022-06-06 09:42:21 +00:00