Tomas Votruba
e74948ca4a
Updated Rector to commit 69220a7b2d424babad1a6560dc546295d4e9ebe5
...
69220a7b2d
[Traverser] Remove beforeTraverse() in StmtKeyNodeVisitor (#3955 )
2023-05-24 15:18:00 +00:00
Tomas Votruba
eb3e6c221d
Updated Rector to commit ce12406878b202f9ceb1506a546e732ab1ca2716
...
ce12406878
Remove ChangeReadOnlyVariableWithDefaultValueToConstantRector overly complex and risky, better job for PHPStan (#3954 )
2023-05-24 15:09:06 +00:00
Tomas Votruba
7117aa039a
Updated Rector to commit c4b524e77a5eccd387d1ebe5b01ab3ae680049a3
...
c4b524e77a
Remove GetAndSetToMethodCallRector, as not practical and used for single legacy job (#3953 )
2023-05-24 13:47:55 +00:00
Tomas Votruba
7dcc1f5c95
Updated Rector to commit 7e9ee7afbf04ede850da1639b1b234e4e86730fb
...
7e9ee7afbf
Refactor from PARENT_NODE in AddReturnTypeDeclarationRector (#3952 )
2023-05-24 13:42:05 +00:00
Tomas Votruba
a1e2ba76d0
Updated Rector to commit 2e80e00913eacfcfded3af426cc7691a58d7f886
...
2e80e00913
Refactor from PARENT_NODE in AddArrayDefaultToArrayPropertyRector (#3951 )
2023-05-24 13:20:51 +00:00
Tomas Votruba
06e1c20df4
Updated Rector to commit 49561b6c81580ca995de4a8a00184f6935bec7db
...
49561b6c81
Refactor PARENT_NODE away from ParamTypeFromStrictTypedPropertyRector (#3950 )
2023-05-24 13:12:14 +00:00
Tomas Votruba
bddc5333e6
Updated Rector to commit 11e6796c0044a9217aed0c725e4b0f7c5767cb22
...
11e6796c00
Remove PARENT_NODE from FuncGetArgsToVariadicParamRector (#3949 )
2023-05-24 13:08:24 +00:00
Tomas Votruba
26ac08e306
Updated Rector to commit fa6f1f67578dbe765fc13abaa294e0f62e66d4a8
...
fa6f1f6757
[CodeQuality] Remove ExplicitMethodCallOverMagicGetSetRector designed for nette smart object migration only, not useful for general projects (#3948 )
2023-05-24 12:27:19 +00:00
Tomas Votruba
50ec3d44e9
Updated Rector to commit eef0e5d1f47500c9f56c5ccaa16523b11b47c8a7
...
eef0e5d1f4
Refactor PARENT_NODE away from JoinStringConcatRector (#3947 )
2023-05-24 12:18:40 +00:00
Tomas Votruba
1f89bb9561
Updated Rector to commit c050b66f9b9812f8f7735673e651deaccded0071
...
c050b66f9b
Refactor PARENT_NODE away from ListEachRector (#3946 )
2023-05-24 10:04:51 +00:00
Tomas Votruba
13cb0fa921
Updated Rector to commit 279126145e995c4d0b39a60bd6fc5fff5799199e
...
279126145e
Refactor PARENT_NODE away from UnsetCastRector (#3945 )
2023-05-24 09:42:43 +00:00
Tomas Votruba
d7eced92e2
Updated Rector to commit c504b2f11f2b732a744ad804b3a4b5afc30e2841
...
c504b2f11f
Refactor PARENT_NODE away from GetClassOnNullRector (#3944 )
2023-05-24 09:36:58 +00:00
Tomas Votruba
a32354e5eb
Updated Rector to commit 3eadce164860c1d4465e40fd5e07fb11d3aa1b99
...
3eadce1648
[NodeTypeResolver] Reduce parent attribute usage on PHPStanNodeScopeResolver (#3943 )
2023-05-24 04:20:01 +00:00
Tomas Votruba
5f32b6989a
Updated Rector to commit 62ecc9028796457cc58e717ac50c9d2cc5339b17
...
62ecc90287
[DeadCode] Skip assign closure bind by reference on RemoveUnusedVariableAssignRector (#3942 )
2023-05-24 02:50:28 +00:00
Tomas Votruba
f45c2e9273
Updated Rector to commit a354edaa5547f63a3407f3155e696f2709f4231a
...
a354edaa55
[DeadCode][Php56] Handle infinite loop on RemoveUnusedVariableAssignRector+AddDefaultValueForUndefinedVariableRector take 2 (#3941 )
2023-05-24 02:18:56 +00:00
Tomas Votruba
f7fccae5ba
Updated Rector to commit e04e51c25d95e3b2133adca5f01f8e7e002534af
...
e04e51c25d
[DeadCode][Php56] Handle infinite loop on RemoveUnusedVariableAssignRector+AddDefaultValueForUndefinedVariableRector (#3940 )
2023-05-23 22:15:37 +00:00
Tomas Votruba
31acf8cd20
Updated Rector to commit 5cd8ac7e0ef22955fc9db7ff6ac6c34e38217d85
...
5cd8ac7e0e
[Parser] Allow to get next of just changed node to new node by map stmt_key directly on AbstractRector for single node return (#3939 )
2023-05-23 16:54:12 +00:00
Tomas Votruba
b1c6bc3189
Updated Rector to commit 3f0b5649057005937557917b39212c3a6ac4343d
...
3f0b564905
[Traverser] Refactor set stmt_key set 0 for Else_, ElseIf, Catch_, Finally_, removing tweak start token pos on BetterNodeFinder (#3934 )
2023-05-23 16:30:10 +00:00
Tomas Votruba
a9dddd2b37
Updated Rector to commit fe7b5cd28f2333a07b22ddd955d693ebfbc44344
...
fe7b5cd28f
Remove PARENT_NODE from AddVoidReturnTypeWhereNoReturnRector (#3938 )
2023-05-23 14:21:41 +00:00
Tomas Votruba
22d4bdfac5
Updated Rector to commit d031c059eb2b7b07bbf9609b4eee0b6b895a4095
...
d031c059eb
Remove PARENT_NODE from RemoveJustPropertyFetchRector (#3937 )
2023-05-23 14:08:54 +00:00
Tomas Votruba
62ef1326dc
Updated Rector to commit 8a74ea74d5501f5f850632c834878468eaa39b8e
...
8a74ea74d5
[DeadCode] Remove RemoveDuplicatedInstanceOfRector as hardly practical (#3936 )
2023-05-23 13:59:54 +00:00
Tomas Votruba
ee06436c96
Updated Rector to commit d603b00818cfabc8aa1699b1154145e68bdb60a0
...
d603b00818
Remove PARENT_NODE from RemoveUnusedVariableAssignRector (#3935 )
2023-05-23 13:36:55 +00:00
Tomas Votruba
ad4182dc96
Updated Rector to commit 8f3569e84677b4a29feb0af0788a0156086f921f
...
8f3569e846
[DeadCode][CodeQuality] Fix infinite loop on RemoveUnusedVariableAssignRector+SimplifyIfElseToTernaryRector (#3933 )
2023-05-22 18:59:06 +00:00
Tomas Votruba
71d07f8bbf
Updated Rector to commit 6e88b21cfdbf459d4c2b4c97c0db2c9b2d90b572
...
6e88b21cfd
Remove PARENT_NODE from RemoveEmptyMethodCallRector (#3932 )
2023-05-22 14:37:37 +00:00
Tomas Votruba
410006adf0
Updated Rector to commit 4793a0d4c1294645177a18710667c7b35bcaaca3
...
4793a0d4c1
[CodingStyle] Skip jump change variable name on CatchExceptionNameMatchingTypeRector (#3931 )
2023-05-22 14:28:10 +00:00
Tomas Votruba
bbd4807a0e
Updated Rector to commit 88f17e9bb640c69d6b8ef31c6901ac71e2214c0d
...
88f17e9bb6
Remove array function from RemoveEmptyMethodCallRector as too narrow (#3930 )
2023-05-22 14:16:43 +00:00
Tomas Votruba
215231b596
Updated Rector to commit 112e490e3ca0d5949c97189c31fd4aef8833cfc1
...
112e490e3c
Remove PARENT_NODE from CatchExceptionNameMatchingTypeRector (#3929 )
2023-05-22 14:09:12 +00:00
Tomas Votruba
ed0c750f6e
Updated Rector to commit 26b32be535516bf80da94b85b2172b2ac64f9a7c
...
26b32be535
Remove PARENT_NODE from StringClassNameToClassConstantRector (#3928 )
2023-05-22 13:58:34 +00:00
Tomas Votruba
96fc00fd8e
Updated Rector to commit 3c69a0f9d7b075cef7e0e382eee94234f3629efa
...
3c69a0f9d7
Remove AddPregQuoteDelimiterRector as very narrow area and has not context awareness, better handle manually (#3927 )
2023-05-22 13:43:31 +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
8724ff4d63
Updated Rector to commit 392d81f7b01253711f7aa48344673b5f01b1c325
...
392d81f7b0
[DeadCode] Remove RemoveDuplicatedIfReturnRector as can lead to unexpeced consequences, better use static analysis and contextual handling (#3926 )
2023-05-22 13:11:03 +00:00
Tomas Votruba
325ed23768
Updated Rector to commit c5196d467d772a84590cc08909d01ae68409dbd4
...
c5196d467d
Fix PrivatesAccessor: use selectFromArgs() instead (#3923 )
2023-05-22 10:28:27 +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
88a767b244
Updated Rector to commit 71f00d95fc16f31f7af4a524d5e179f467089e16
...
71f00d95fc
[1.0] Replace NodeConnectingVisitor with ParentConnectingVisitor (#3900 )
2023-05-22 08:41:41 +00:00
Tomas Votruba
f6d5507bbf
Updated Rector to commit d90c645a1fbe976efee82c32fd6a5a021c33645a
...
d90c645a1f
[DX] Try removing resolved name attribute, as namespacedName is already part of named nodes (#3921 )
2023-05-22 08:26:02 +00:00
Tomas Votruba
60fec4c15c
Updated Rector to commit 44735d3f2451e4c27ea85d1bc3052e06f8ed703c
...
44735d3f24
[ci] split rules tests to code quality, type declaration and dead-code to speed up (#3920 )
2023-05-22 08:03:15 +00:00
Tomas Votruba
e59b9e0910
Updated Rector to commit a813b1747dc78a40a22c993b1d8ebbc47e261298
...
a813b1747d
Remove ChangeOrIfReturnToEarlyReturnRector as makes code harder to read by duplication, rather use PHSPtan and extract method (#3916 )
2023-05-22 07:55:47 +00:00
Tomas Votruba
060e167ec1
Updated Rector to commit edc60fc2e9b431a69b66eac9318e9af3eb340d84
...
edc60fc2e9
[Traverser] Using bool value for assigned_to attribute on variable assign (#3918 )
2023-05-22 07:35:57 +00:00
Tomas Votruba
bd8dcc9cae
Updated Rector to commit 33c04c5c90725b36c864cfc86c5491f8d6912396
...
33c04c5c90
[DeadCode] Remove next attribute on RemoveUnusedVariableAssignRector (#3917 )
2023-05-21 22:39:40 +00:00
Tomas Votruba
aa57f0b8dc
Updated Rector to commit 8ec3a2722663bd6cc8e5d0714178ba03bc43056f
...
8ec3a27226
[1.0] Add public method BetterNodeFinder::resolvePreviousNode() and BetterNodeFinder::resolveNextNode() (#3896 )
2023-05-21 22:28:59 +00:00
Tomas Votruba
ab18d95c87
Updated Rector to commit e1f19806fb24f507172f8e8b17ebd51c159b3fe6
...
e1f19806fb
Remove NEXT_NODE from SimplifyIfReturnBoolRector (#3915 )
2023-05-21 15:34:58 +00:00
Tomas Votruba
0693ebbfc2
Updated Rector to commit a87a9d8e026c3499c980facf1bf24bd51b69c924
...
a87a9d8e02
Remove NEXT_NODE from ChangeIfElseValueAssignToEarlyReturnRector (#3914 )
2023-05-21 15:26:41 +00:00
Tomas Votruba
fce66262b4
Updated Rector to commit 46f5209563e77fb36fe1b04749419fb258e9d710
...
46f5209563
Remove NEXT_NODE dependency in ChangeAndIfToEarlyReturnRector, narrow to only closed scope function likes (#3913 )
2023-05-21 15:18:02 +00:00
Tomas Votruba
c1e94593a2
Updated Rector to commit a87a9d8e026c3499c980facf1bf24bd51b69c924
...
a87a9d8e02
Remove NEXT_NODE from ChangeIfElseValueAssignToEarlyReturnRector (#3914 )
2023-05-21 15:17:01 +00:00
Tomas Votruba
63128d63b6
Updated Rector to commit 26ca0e49ec38adfbff5432e3e0184a8f64c6176d
...
26ca0e49ec
[Parser] Fix Expr on edge Stmt start/end token detection on BetterNodeFinder (#3912 )
2023-05-21 14:46:45 +00:00
Tomas Votruba
5678d14ccc
Updated Rector to commit b1d123cf565cd0dcf011249ef535f3604f7ea2d6
...
b1d123cf56
Revert tweak start token pos compare (#3911 )
2023-05-21 14:18:15 +00:00
Tomas Votruba
1eed4009a2
Updated Rector to commit 1adea7295ddcdf79c0ee5c2859e42cbabb32f26b
...
1adea7295d
[automated] Re-Generate Nodes/Rectors Documentation (#3909 )
2023-05-21 00:34:59 +00:00
Tomas Votruba
d41cd2c891
Updated Rector to commit 6e9310b65c1139a8102ed7aab73b658ba5f97c83
...
6e9310b65c
[automated] Apply Coding Standard (#3910 )
2023-05-21 00:33:57 +00:00
Tomas Votruba
dde8a00cee
Updated Rector to commit b68e7e6f3672aa35776dd9a2ff829bf735d2a1f5
...
b68e7e6f36
[automated] Re-Generate preload.php (#3908 )
2023-05-21 00:33:23 +00:00
Tomas Votruba
bd4da5b387
Updated Rector to commit 78c35a0f724f7c6088ba39156dda4673deeab171
...
78c35a0f72
[Parser] Cover faster edge Expr in first token or end token of Stmt (#3907 )
2023-05-21 00:02:07 +00:00