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
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
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
ead00ac355
Updated Rector to commit 84012e4ac915dd5d8e7527bffdec302d53dc222e
...
84012e4ac9
Static type improvements (#2662 )
2022-07-15 08:14:37 +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
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
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
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
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
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
b050f5de99
Updated Rector to commit a70d0e5518260479d055a0d5a90e28e43cad58f7
...
a70d0e5518
[Php54] Rename ArrayToShortArrayRector to LongArrayToShortArrayRector (#2628 )
2022-07-03 23:03:40 +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
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