Tomas Votruba
d977ea6b6f
Updated Rector to commit 2766aa8ac4a273b0d0a6e0869eb71eca428fcaf0
...
2766aa8ac4
[Performance] Reduce repetitive parent lookup on BetterNodeFinder::findFirstNext() by inline search when possible (#3885 )
2023-05-18 15:08:46 +00:00
Tomas Votruba
1d3c5ccdb3
Updated Rector to commit b0649221240ae8a57862290534f9cb05135ac018
...
b064922124
[Traverser] Refactor BetterNodeFinder::findFirstNext() to remove next attribute usage (#3879 )
2023-05-18 14:18:42 +00:00
Tomas Votruba
44b12286ff
Updated Rector to commit 55d0b08789d0e1cbaaa7f62e8859971cb846294c
...
55d0b08789
Cherry pick key compare on BetterNodeFinder::resolvePreviousNodeFromFile() (#3884 )
2023-05-17 21:26:57 +00:00
Tomas Votruba
765b0f35a3
Updated Rector to commit 9e8880bc4acd34095b0879dbcb514133f1f9a01e
...
9e8880bc4a
Cherry-pick StmtKeyNodeVisitor check not Node (#3883 )
2023-05-17 19:54:55 +00:00
Tomas Votruba
219ab6ff69
Updated Rector to commit ae78ef15d1d27bd5f9df02457d02a0fb7d7c3c20
...
ae78ef15d1
Remove tweak require symplify/smart-file-system (#3882 )
2023-05-17 15:38:16 +00:00
Tomas Votruba
569c7dc229
Updated Rector to commit 5e3afcbdafde000f950ee844f22a2b020216cd82
...
5e3afcbdaf
Revert Cleanup CachedContainer invalidation (#3867 ) (#3880 )
2023-05-17 15:07:40 +00:00
Tomas Votruba
95d72b47e8
Updated Rector to commit c018b8b71b32e9654f7e884a20573a741184572e
...
c018b8b71b
[Traverser] Add StmtKeyNodeVisitor to remove next and prev attribute on BetterNodeFinder (#3870 )
2023-05-17 13:57:56 +00:00
Tomas Votruba
c7f7b9b6bb
Updated Rector to commit f0141afbc14283e1d7b2f40b5d30e42ab0045623
...
f0141afbc1
Cleanup CachedContainer invalidation (#3867 )
2023-05-17 13:02:11 +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
5cff4d6dc6
Updated Rector to commit b8e70923f40d50a1c6aecf616d23b362b57321c3
...
b8e70923f4
Drop AttributeKey::SCOPE in PropertyManipulator (#3874 )
2023-05-16 17:24:21 +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
1c94a7b40a
Updated Rector to commit ef257221acece7d2ea66c292fceb2718c87e0b53
...
ef257221ac
Make check more explicit (#3869 )
2023-05-16 10:30:50 +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
1c829c24c3
Updated Rector to commit 5d78e95c82dc59cd66919b703193d0978d01b902
...
5d78e95c82
Fix phpunit error on rector/rector:dev-main due to container cache (#3865 )
2023-05-16 04:29:24 +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
bd630a0db2
Updated Rector to commit 3bdd519e03e957461a48105820c20b35706f036e
...
3bdd519e03
Dump dependency container and re-use it - 35% faster test-suite (#3809 )
2023-05-15 15:58:52 +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
Tomas Votruba
dca2603280
Updated Rector to commit f5d809ca431215d512bb0ba3894bab4543afb396
...
f5d809ca43
[CodingStyle] Remove AddFalseDefaultToBoolPropertyRector, as works with unrelaible docblocks (#3856 )
2023-05-15 12:19:44 +00:00
Tomas Votruba
89439d883f
Updated Rector to commit 95b1789a871adeb6b6555949d3cf32b0b4060613
...
95b1789a87
Drop AttributeKey::SCOPE in ArrayCallableMethodMatcher (#3835 )
2023-05-15 08:51:25 +00:00
Tomas Votruba
4fa709b27b
Updated Rector to commit 05c4367a51af6f0d4c56a9ab466aa32a873acc83
...
05c4367a51
[Printer] Reduce parent attribute usage on BetterStandardPrinter on print ArrowFunction comment (#3855 )
2023-05-15 08:40:30 +00:00
Tomas Votruba
7b0f60a033
Updated Rector to commit c24338f5dc0d5ea2469f5078692b6e017f2c3641
...
c24338f5dc
[DX] Add oustide any set to help detecting rules that could be part of some set (#3853 )
2023-05-14 23:36:37 +00:00
Tomas Votruba
281f59d306
Updated Rector to commit 7f49261e293df93ac9a81dd49e59ad4abed9ed41
...
7f49261e29
Make ReturnNeverTypeRector work with type declaration, add it to PHP 8.1 set (#3852 )
2023-05-14 22:40:25 +00:00
Tomas Votruba
9496663b9b
Updated Rector to commit 7a32610a70a03adf6824fec5f055a63b6355f56b
...
7a32610a70
[Util] Introduce FileHasher (#3833 )
2023-05-14 18:24:01 +00:00
Tomas Votruba
270692ae54
Updated Rector to commit 0a7be603fcc467ac3956081bf83db9c0d5350eee
...
0a7be603fc
Remove MakeTypedPropertyNullableIfCheckedRector as old fix of TypedPropertyRector rule, removed months ago (#3851 )
2023-05-14 16:14:48 +00:00
Tomas Votruba
a8cb615a7e
Updated Rector to commit 7935b2a3c2371e0d9e18ad2b683ac3b53b64d950
...
7935b2a3c2
Remove MissingClassConstantReferenceToStringRector niche rule that was added just for example sake (#3850 )
2023-05-14 16:09:04 +00:00
Tomas Votruba
e02a2a45af
Updated Rector to commit 33e59eeadf3da67db8dcdebfc8bef3701a17592a
...
33e59eeadf
Remove UpdateFileNameByClassNameFileSystemRector niche rule that was added just for example sake (#3849 )
2023-05-14 16:07:53 +00:00
Tomas Votruba
18b46b9b72
Updated Rector to commit 656836093ea0abd96860af062fdf6f67afe1f504
...
656836093e
[CodeQuality] Deprecate NarrowUnionTypeDocRector as focused on docblocks, and moving to type declarations (#3848 )
2023-05-14 15:57:29 +00:00
Tomas Votruba
83531b9b9d
Updated Rector to commit 4ac2cf87c569ec8ebea4d631d684439c16dd296d
...
4ac2cf87c5
[Restoration] Remove RemoveFinalFromEntityRector as used only to revert very old Rector bug (#3847 )
2023-05-14 15:50:50 +00:00
Tomas Votruba
98e78b2b7c
Updated Rector to commit ec61753f20dbabd4b4b350f9d7a994ac61315e82
...
ec61753f20
[PHP 8.0] Deprecate old UnionTypesRector that is dangerously moving docblocks, use type declaration rules instead (#3846 )
2023-05-14 15:41:53 +00:00
Tomas Votruba
535f180737
Updated Rector to commit 37f0942c0976630ce9479c7499099a67d1f07bc4
...
37f0942c09
cs fix
2023-05-14 15:29:04 +00:00
Tomas Votruba
f844a1b873
Updated Rector to commit 8be7ac6830f0f7191af7118814c779da3ebd9b56
...
8be7ac6830
Remove unused offset correction (#3843 )
2023-05-14 15:14:10 +00:00
Tomas Votruba
5d75a302b5
Updated Rector to commit f554fe1a836dc1b7015cda99e7e71f5dbe46d731
...
f554fe1a83
Fix nullable param in ClassPropertyAssignToConstructorPromotionRector (#3842 )
2023-05-14 15:10:59 +00:00
Tomas Votruba
29b68cfe1e
Updated Rector to commit 25d01632e1b6a3fd0b1b1e86c232079118828983
...
25d01632e1
Remove unused narrowArrayKeysUnionType() patch for PHPStan types (#3840 )
2023-05-14 14:05:31 +00:00
Tomas Votruba
1c17924ff5
Updated Rector to commit f3b6bfa35f7509815cbc6f40473c1698d82f9a21
...
f3b6bfa35f
Workaround fix for missing newline in attributes in ReadOnlyClassRector (#3839 )
2023-05-14 13:52:56 +00:00
Tomas Votruba
33a05b3e73
Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
...
07a7876d8a
[CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838 )
2023-05-14 13:22:44 +00:00
Tomas Votruba
b381887836
Updated Rector to commit ad7012054f92137311b202c0322a62dd480fe3bb
...
ad7012054f
[Traverser] Add ScopeResolverNodeVisitorInterface (#3831 )
2023-05-14 10:54:13 +00:00
Tomas Votruba
f613b7a98a
Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
...
499fdbc3af
Drop AttributeKey::SCOPE in various classes (#3836 )
2023-05-14 10:01:33 +00:00
Tomas Votruba
1c529e1b8f
Updated Rector to commit 6482c594e4b554a814165d11baeece9498868caa
...
6482c594e4
Update test expectations (#3837 )
2023-05-14 09:35:45 +00:00
Tomas Votruba
aceca9ea6e
Updated Rector to commit 6322d7c7c5bf262524b254cb329644cd051f94b2
...
6322d7c7c5
[automated] Re-Generate Nodes/Rectors Documentation (#3832 )
2023-05-14 00:32:54 +00:00
Tomas Votruba
6a4afec13c
Updated Rector to commit 7b3612414201f08bb451d15ea3e1b94e4b61a0a8
...
7b36124142
Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for dupicated variable override (#3830 )
2023-05-14 00:09:02 +00:00