Tomas Votruba
bfd8f1a220
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-05-31 13:27:13 +00:00
Tomas Votruba
b655a25951
Updated Rector to commit 81e8c74b0ea2a107db681ee21c13925837b84abc
...
81e8c74b0e
[NodeManipulator] Use ReflectionResolver instead of BetterNodeFinder parent lookup on ClassMethodManipulator (#4035 )
2023-05-31 13:19:19 +00:00
Tomas Votruba
1a69dcf241
Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
...
d413dc15e6
Remove unused method addNodesBeforeNode() (#4024 )
2023-05-30 09:18:02 +00:00
Tomas Votruba
9fd6682367
Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
...
e2213f2176
Remove unused addNodeAfterNode(), return nodes instead (#4023 )
2023-05-30 09:05:58 +00:00
Tomas Votruba
28d2a3ced0
Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
...
d413dc15e6
Remove unused method addNodesBeforeNode() (#4024 )
2023-05-30 09:05:54 +00:00
Tomas Votruba
1e426f9497
Updated Rector to commit cc6dc93b566930e66b61ee04205ef943a8d9d339
...
cc6dc93b56
[CodeQuality] Reduce parent lookup on LocalPropertyAnalyzer::resolveFetchedPropertiesToTypesFromClass() (#4004 )
2023-05-28 20:47:12 +00:00
Tomas Votruba
ea8041895c
Updated Rector to commit ebe2a37fe2c0c387e655259548ab7a6f76b3f298
...
ebe2a37fe2
[Php74][Privatization] Refactor ParentPropertyLookupGuard to use ClassReflection to reduce IO (#3993 )
2023-05-27 15:46:25 +00:00
Tomas Votruba
88a00032b7
Updated Rector to commit 754fca568f1d19b792bd5ccd476d10c675ba77f3
...
754fca568f
[Php74] Remove parent attribute on PropertyTypeChangeGuard (#3992 )
2023-05-27 12:07:30 +00:00
Tomas Votruba
c613309b06
Updated Rector to commit 1e0a1ceb897de085e3b8a68fbf88b4028d2064b0
...
1e0a1ceb89
Return nodes directly in MoneyFormatToNumberFormatRector (#3986 )
2023-05-27 10:18:32 +00:00
Tomas Votruba
eb19a0084e
Updated Rector to commit 18d8df639c4376c2784a585eb5deafeda971597e
...
18d8df639c
Refactor away PARENT_NODE from AssignArrayToStringRector (#3983 )
2023-05-27 09:26:50 +00:00
Tomas Votruba
2774b5f9dd
Updated Rector to commit c70a5b8fdbbb3306603c67a972265872eaa3da2b
...
c70a5b8fdb
Refactor away from PARENT_NODE in ListToArrayDestructRector (#3982 )
2023-05-27 08:27:32 +00:00
Tomas Votruba
3267b9499d
Updated Rector to commit 385a9cb5f1235808c7226c2efccdc10fc6de6542
...
385a9cb5f1
[Php74] Skip parenthesize ternary if on ParenthesizeNestedTernaryRector (#3980 )
2023-05-26 23:56:10 +00:00
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
511b8597e6
Updated Rector to commit fc1fabe1a396339cbf1d9d0346f3f35bc75a33c3
...
fc1fabe1a3
[PostRector] Remove parent lookup on ClassRenamingPostRector (#3959 )
2023-05-25 12:11:39 +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
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
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
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
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
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
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
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
c6385617d2
Updated Rector to commit a4d6d414fb2f6ce98c792178895ab01664fab358
...
a4d6d414fb
[TypeDeclaration] Add BoolReturnTypeFromStrictScalarReturnsRector (#3898 )
2023-05-19 15:03:57 +00:00
Tomas Votruba
9842940c7a
Updated Rector to commit 9cfeac03ed7ae6b684dfd720d7765af25e3a6d08
...
9cfeac03ed
[Privatization][TypeDeclaration] Do not replace non-readonly property to constant on ChangeReadOnlyPropertyWithDefaultValueToConstantRector+TypedPropertyFromAssignsRector (#3891 )
2023-05-19 00:31:57 +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
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
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
3847b0c3b5
Updated Rector to commit d2ae72e1fe616bb5c2d98c497a59991cfb5cca55
...
d2ae72e1fe
Remove NEXT_NODE from IfToSpaceshipRector (#3860 )
2023-05-16 12:50:39 +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
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
65abab80de
Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
...
5c1be93b80
PHP 8.2 is supported (#3717 )
2023-05-01 01:36:32 +00:00
Tomas Votruba
9038a0d99c
Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
...
1a91d04c52
[CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544 )
2023-04-01 10:14:17 +00:00
Tomas Votruba
0b3c5d9bcc
Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
...
f22ddc8f18
Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513 )
2023-03-23 23:21:34 +00:00
Tomas Votruba
7d0f151a40
Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
...
a2cd7283fb
Typo fix comment php 7.3 compat on rector workflow (#3432 )
2023-03-01 13:00:30 +00:00
Tomas Votruba
66cc09e8b6
Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
...
d118ae38e2
Use phpstan-deprecation-rules (#3330 )
2023-02-02 09:24:12 +00:00
Tomas Votruba
764b0a2692
Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
...
cb5b01223d
[automated] Re-Generate Nodes/Rectors Documentation (#3259 )
2023-01-01 00:36:31 +00:00
Tomas Votruba
727b9f46f0
Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
...
bfa1891c50
[cleanup] Remove 73 unused public methods (#3245 )
2022-12-23 17:10:25 +00:00
Tomas Votruba
83accd4a98
Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
...
efd09bbb40
Compatibility with BetterReflection 6.x on ClassFromEnumFactory (#3150 )
2022-12-04 13:15:14 +00:00
Tomas Votruba
ff75474d25
Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
...
39f43c01cb
Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134 )
2022-12-01 14:10:32 +00:00
Tomas Votruba
ddc864eff4
Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
...
7b7d5a4b8b
Revert string specific identifier values on Type Mappers (#3024 )
2022-11-01 14:15:38 +00:00
Tomas Votruba
e87c848801
Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
...
ff4d797c73
[DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964 )
2022-10-02 20:24:31 +00:00
Tomas Votruba
72019c1f5a
Updated Rector to commit 88b75c6180cab29f49e7ec6567df80b052987978
...
88b75c6180
[Console] Move color differ here (#2887 )
2022-09-01 20:56:47 +00:00
Tomas Votruba
a295f6325a
Updated Rector to commit 5a2897090e0cce57c2b6849a9d70c1cf3fb1cba9
...
5a2897090e
[DX] Remove PackageBuilder classes (#2886 )
2022-09-01 20:29:21 +00:00
Tomas Votruba
6c20d257e3
Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
...
d3d18d442c
keep relative paths
2022-09-01 09:30:44 +00:00