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
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
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
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
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
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
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
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
c6385617d2
Updated Rector to commit a4d6d414fb2f6ce98c792178895ab01664fab358
...
a4d6d414fb
[TypeDeclaration] Add BoolReturnTypeFromStrictScalarReturnsRector (#3898 )
2023-05-19 15:03:57 +00:00
Tomas Votruba
6f986503de
Updated Rector to commit 5b990ff50f851726e5d3a28590572c8e3f99bb04
...
5b990ff50f
Bump symplify/phpstan-rules deps (#3894 )
2023-05-19 13:30:27 +00:00
Tomas Votruba
8ef3bb6268
Updated Rector to commit af2a06e85ea318a0a294fce64c157f6ae9887383
...
af2a06e85e
[TypeDeclaration] Skip possible void on ReturnTypeFromReturnNewRector (#3890 )
2023-05-18 21:38:08 +00:00
Tomas Votruba
5a424135e9
Updated Rector to commit a8fdf00925e9b46f3372da01d90d52780d1e802a
...
a8fdf00925
[PHP 7.0] Add IfIssetToCoalescingRector (#3878 )
2023-05-17 09:47:50 +00:00
Tomas Votruba
39a43e0003
Updated Rector to commit f2348ae8c75cafec524ea972ff6af912e8ce7c11
...
f2348ae8c7
[TypeDeclaration] Add nullable property type support to PropertyTypeFromStrictSetterGetterRector (#3877 )
2023-05-17 09:12:37 +00:00
Tomas Votruba
3f89b13d0e
Updated Rector to commit 16f3c961ead671df489ff9217d61cdfe40e09ec0
...
16f3c961ea
[CodeQuality] Add typed property support to IssetOnPropertyObjectToPropertyExistsRector (#3876 )
2023-05-17 08:38:16 +00:00
Tomas Votruba
ae79c1dc04
Updated Rector to commit 83a4a60b4c48d017694f2a0867f821c33ff5b27c
...
83a4a60b4c
Drop AttributeKey::SCOPE in MethodParameterTypeResolver (#3873 )
2023-05-16 17:11:44 +00:00
Tomas Votruba
5457dd1412
Updated Rector to commit 02500aaf35f5ae96f0522a85b0173342e1da2144
...
02500aaf35
Remove NEXT/PREV node usage from AlwaysStrictScalarExprAnalyzer (#3872 )
2023-05-16 14:24:15 +00:00
Tomas Votruba
56836f25e8
Updated Rector to commit d42fd12f4ad38f29f8e7f3fd19d9bb740f0f9356
...
d42fd12f4a
Improve IfToSpaceshipRector (#3871 )
2023-05-16 13:09:11 +00:00
Tomas Votruba
3847b0c3b5
Updated Rector to commit d2ae72e1fe616bb5c2d98c497a59991cfb5cca55
...
d2ae72e1fe
Remove NEXT_NODE from IfToSpaceshipRector (#3860 )
2023-05-16 12:50:39 +00:00
Tomas Votruba
ddec6bfaa0
Updated Rector to commit c0a042c3b68eb657d7e525ae2c2648d0ec96fb19
...
c0a042c3b6
Drop AttributeKey::SCOPE in MagicPropertyFetchAnalyzer (#3868 )
2023-05-16 10:36:59 +00:00
Tomas Votruba
0b0fda9095
Updated Rector to commit 99bdd27c00f0a27620f75eeeedc36bb3d505456b
...
99bdd27c00
[CodeQuality] Remove next attribute usage on SimplifyIfNullableReturnRector (#3866 )
2023-05-16 05:46:08 +00:00
Tomas Votruba
9ae4a949d6
Updated Rector to commit cc3354aa8e764fd028f5de5ac1fb76e9304bdbbd
...
cc3354aa8e
[Parser] Remove next attribute usage on InlineCodeParser (#3864 )
2023-05-15 17:50:04 +00:00
Tomas Votruba
86d7e3ad58
Updated Rector to commit 6156458ef43b1961a0ded5df85ca3fa4c35686e9
...
6156458ef4
Drop AttributeKey::SCOPE in AssignAndBinaryMap (#3861 )
2023-05-15 15:05:45 +00:00
Tomas Votruba
1b8d2812ef
Updated Rector to commit c8f697b16d888505c2bfbbcaba1665402091159b
...
c8f697b16d
Remove ToStringToMethodCallRector as not practical and only for demo, FalseReturnClassMethodToNullableRector, as requires detailed custom refactoring (#3854 )
2023-05-15 13:05:02 +00:00
Tomas Votruba
73738c0fb1
Updated Rector to commit 3df70bdd234efe4c6f49607df5378fb150b111e7
...
3df70bdd23
Remove NEXT_NODE from RemoveDuplicatedIfReturnRector (#3858 )
2023-05-15 13:00:55 +00:00
Tomas Votruba
1e7e201657
Updated Rector to commit 7a86ac22a0535b75f9e525776a315777029d7bdb
...
7a86ac22a0
[Privatization] Remove parent attribute set on ClassConstantFactory::createFromProperty() (#3859 )
2023-05-15 12:47:34 +00:00
Tomas Votruba
8dce3beed1
Updated Rector to commit c4bab4a7778e11715d720391c5daaa7a89e975ce
...
c4bab4a777
Remove next from ExplicitBoolCompareRector (#3857 )
2023-05-15 12:33:28 +00:00