Tomas Votruba
28adaf00cf
Updated Rector to commit 041fa832d50b0548594e5f8aa53036b394016c27
...
041fa832d5
Refactor from PARENT_NODE in RemoveParentCallWithoutParentRector (#3963 )
2023-05-25 14:40:36 +00:00
Tomas Votruba
92a1548c49
Updated Rector to commit 8e3620b0fb37f25a4966d9c07b0a55c02814f89c
...
8e3620b0fb
Refactor from PARENT_NODE in PostIncDecToPreIncDecRector (#3962 )
2023-05-25 14:00:24 +00:00
Tomas Votruba
0efdb38927
Updated Rector to commit 31712a1a466b4f2f2f83986aa6710405a00b446e
...
31712a1a46
Refactor from PARENT_NODE in TokenGetAllToObjectRector (#3961 )
2023-05-25 13:52:45 +00:00
Tomas Votruba
94c1b64b7e
Updated Rector to commit 18ac565714b7b66506a901ed4787d1ffbdd0af2d
...
18ac565714
Refactor from PARENT_NODE in EncapsedStringsToSprintfRector (#3960 )
2023-05-25 13:47:07 +00:00
Tomas Votruba
f7d28cee5d
Updated Rector to commit 794bc8b5484e3eafcc91f85d443f665565c4ad44
...
794bc8b548
Remove PARENT_NODE from ForeachItemsAssignToEmptyArrayToAssignRector (#3958 )
2023-05-25 09:21:23 +00:00
Tomas Votruba
2a39baa0c1
Updated Rector to commit 179b5cba82257fd1d310301679a1913db458809e
...
179b5cba82
Make ChangeGlobalVariablesToPropertiesRector add properties directly, remove Nette inject methods (#3957 )
2023-05-24 18:48:59 +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
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