Commit Graph

3748 Commits

Author SHA1 Message Date
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
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
Tomas Votruba
5bec307b19 Updated Rector to commit 32d2eed8a6e9cac8db8defe4a822f0d7b44bc6d8
32d2eed8a6 [Parser] Clean up BetterNodeFinder::findFirstInTopLevelStmtsAware() param type (#3906)
2023-05-20 23:48:41 +00:00
Tomas Votruba
d3b93de97f Updated Rector to commit 20fce3b76e3e6bbe510b79e11387831854b6cc3d
20fce3b76e [Parser] Allow resolve next/prev stmt inside ClassLike or Declare_ on BetterNodeFinder (#3905)
2023-05-20 23:37:39 +00:00
Tomas Votruba
c1ef3ac6b3 Updated Rector to commit 974a1bed608c4dedb4190e5fae4760c0d9bdfc72
974a1bed60 [Traverser] Clean up nullable stmt_key check on BetterNodeFinder::resolveNeighborNextStmt() take 2 (#3904)
2023-05-20 19:24:20 +00:00
Tomas Votruba
d597a0e3f6 Updated Rector to commit 6b20ed1b7507740b9568ef1b6cec125849172f9e
6b20ed1b75 [Traverser] Clean up: Remove afterTraverse() on StmtKeyNodeVisitor (#3903)
2023-05-20 17:12:03 +00:00
Tomas Votruba
cb0cb645f5 Updated Rector to commit e26c80b297515d924f61ed8518a42cdcbe666e19
e26c80b297 [Traverser] Clean up FileWithoutNamespace check on StmtKeyNodeVisitor.php (#3901)
2023-05-20 15:16:20 +00:00
Tomas Votruba
6404cf85e9 Updated Rector to commit b5807b7bb1d2decb69755554a118f44ee5983fbb
b5807b7bb1 [Parser] Fix key negative on BetterNodeFinder locate stmt on FileWithoutNamespace lookup Declare_ (#3899)
2023-05-19 17:48:51 +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
b2768ca2ed Updated Rector to commit 11b94117e5e915866695379b12dbb5cab0f90b79
11b94117e5 [Parser] Handle just removed stmt on BetterNodeFinder::resolveNodeFromFile() as fall for get next stmt (#3897)
2023-05-19 13:48:58 +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
4d2dd37572 Updated Rector to commit e6d869b35e2e5785d8691408b490fa6283abb784
e6d869b35e [Parser] Using resolveNeighborNextStmt() in resolveNextNodeFromOtherNode() as well on BetterNodeFinder (#3895)
2023-05-19 12:24:31 +00:00
Tomas Votruba
d9f7fc972a Updated Rector to commit f24703ec719c78e87fc75cdbe6e7eadde51dfde9
f24703ec71 [Parser] Avoid infinite loop due search fallback inline next on BetterNodeFinder (#3893)
2023-05-19 12:06:28 +00:00
Tomas Votruba
51a6ca5220 Updated Rector to commit aef093ee8a5a19bb1351345770ac761ae9e0f655
aef093ee8a [Traverser] Remove next attribute in BetterNodeFinder (#3887)
2023-05-19 11:20:36 +00:00
Tomas Votruba
b90fc1b7fa Updated Rector to commit 9fff8d32f3c52769e97ba3e358e8c43f143f0f92
9fff8d32f3 Using same node compare on AssignManipulator (#3892)
2023-05-19 01:47:43 +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
dd33b8eb95 Updated Rector to commit cee58fb5a940fc1a90aab268bb2288c72d1b726e
cee58fb5a9 [Performance] Remove loop  on BetterNodeFinder (#3889)
2023-05-18 20:10:24 +00:00
Tomas Votruba
11f05b657f Updated Rector to commit 24f8610224663ef71ca2e4007ef89997303f53b9
24f8610224 [NodeTypeResolver] Remove next node on PHPStanNodeScopeResolver (#3888)
2023-05-18 18:55:12 +00:00
Tomas Votruba
ab605a51c8 Updated Rector to commit 1c2865afd4556f1dc27b94e5d18145680c8e7497
1c2865afd4 [Performance] Remove parent lookup on StmtKeyNodeVisitor (#3886)
2023-05-18 15:38:11 +00:00
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
Tomas Votruba
2ef8a4b237 Updated Rector to commit 39ae81f5b6477247c4345d8496ef368ff359aaa2
39ae81f5b6 Fix instanceof check (#3829)
2023-05-13 20:26:08 +00:00
Tomas Votruba
0ec9edd835 Updated Rector to commit 60cfcfc50f84d28c304bf332acd6268bb9175dc8
60cfcfc50f Remove useless clear cache (#3828)
2023-05-13 19:26:58 +00:00
Tomas Votruba
f59444dfd6 Updated Rector to commit 9c74d611dc8567de47658624f6f0d0d4792f21ee
9c74d611dc [Core] Change ChangedNodeScopeRefresher modifier to private on AbstractRector (#3827)
2023-05-13 18:59:47 +00:00
Tomas Votruba
722cf05380 Updated Rector to commit 2406dc813a3eba3e25522fcb69af879fbc4a60cd
2406dc813a [Traverser] Add ByRefReturnNodeVisitor (#3826)
2023-05-13 18:07:42 +00:00
Tomas Votruba
6eead6b8f7 Updated Rector to commit a74c640bc1043f19006c7403461108f61d8bf2a5
a74c640bc1 [Traverser] Add ByRefVariableNodeVisitor (#3821)
2023-05-13 17:37:31 +00:00
Tomas Votruba
c27fd387f2 Updated Rector to commit 623a0770e9f64738b6e88eb02691fc954b1e230b
623a0770e9 Fix integer range phpdoc types being treated as useless (#3825)
2023-05-13 17:31:00 +00:00
Tomas Votruba
42ce080a7a Updated Rector to commit 156d28cc16a35822d6739d8c5337efa6fddda1dc
156d28cc16 Remove unused PregMatchTypeCorrector, the 3rd param in preg_match_* is now handled natively by PHPStan (#3824)
2023-05-13 17:27:05 +00:00
Tomas Votruba
da149bb5b0 Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
645071a650 Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822)
2023-05-13 17:20:02 +00:00
Tomas Votruba
900facbf32 Updated Rector to commit 6dea82deb1e64a47c0284a86b1b448dc8b1fc05f
6dea82deb1 Drop AttributeKey::SCOPE in Rector classes (#3791)
2023-05-13 16:50:14 +00:00
Tomas Votruba
af39f1cc41 Updated Rector to commit 56e13466c3ba3c23c0eb5e7e3af6908433c0c6af
56e13466c3 [CI] Enable zend.assertions=1 on CI (#3823)
2023-05-13 16:44:37 +00:00
Tomas Votruba
c8378bb7c9 Updated Rector to commit ed494161ee091037ea7cb791e569abb1bf2ff990
ed494161ee Drop AttributeKey::SCOPE in ClassRenamer (#3806)
2023-05-13 13:41:02 +00:00
Tomas Votruba
059ea469aa Updated Rector to commit 3f8cc390d07486978300abe3dea9f36eeb017c5a
3f8cc390d0 Define default test-suite (#3819)
2023-05-13 11:56:22 +00:00
Tomas Votruba
cd43839d2e Updated Rector to commit 1828db5f0f3b8424ac0183a5672f58c6689d3233
1828db5f0f [Traverser] Add StaticVariableNodeVisitor (#3817)
2023-05-13 10:37:59 +00:00
Tomas Votruba
41a479f910 Updated Rector to commit 0d3a9a263b6649548270dd503b8ac3bb0df107c4
0d3a9a263b [Traverser] Add GlobalVariableNodeVisitor (#3816)
2023-05-13 10:12:10 +00:00
Tomas Votruba
5249938e50 Updated Rector to commit 849459b441b76b62a57dfe227232b22695a0b4c2
849459b441 [CodingStyle] Refactor CatchExceptionNameMatchingTypeRector to use StmtsAwareInterface (#3788)
2023-05-13 10:10:59 +00:00
Tomas Votruba
60642b5bf0 Updated Rector to commit 846953d0925e07eef6a01aeeaf95faf7325ae64c
846953d092 CI: separate rules-tests in 2 parallel jobs (#3815)
2023-05-13 08:00:17 +00:00
Tomas Votruba
c79a9a46c8 Updated Rector to commit 7da67eebfc9011b316e08d80be83a6223f83a371
7da67eebfc Fix WorkerCommandLineFactoryTest (#3811)
2023-05-12 13:48:48 +00:00
Tomas Votruba
eb43965b45 Updated Rector to commit 42c97056d9015cb01aa6fd39150a92f3dab5042d
42c97056d9 Find slow phpunit tests in CI (#3813)
2023-05-12 13:23:24 +00:00
Tomas Votruba
588cf413f9 Updated Rector to commit 55410904edd98b4a243c12b140cfda9ce171f919
55410904ed Prevent unnecessary IO in tests (#3814)
2023-05-12 11:55:32 +00:00
Tomas Votruba
1b9a810bf5 Updated Rector to commit 52295356ab5e31c2226f6ff96984bb08b7529937
52295356ab CI: Fix composer unused job (#3812)
2023-05-12 11:03:25 +00:00
Tomas Votruba
e9ea2d0dfd Updated Rector to commit 0d51657b8f4c157d248d50f534f4247ad12ec3d6
0d51657b8f test fixture duplicate
2023-05-12 10:42:31 +00:00
Tomas Votruba
6401ff0114 Updated Rector to commit 18af399494c5de1d75db67782cad566e65b534bb
18af399494 Drop AttributeKey::SCOPE in FuncCallStaticCallToMethodCallAnalyzer (#3807)
2023-05-11 19:57:34 +00:00
Tomas Votruba
f49ec8a9f1 Updated Rector to commit dd970ac29023b0e6e27f54d79d98cf7415a638c5
dd970ac290 Drop AttributeKey::SCOPE in FullyQualifyStmtsAnalyzer (#3805)
2023-05-11 19:37:52 +00:00
Tomas Votruba
2b9f121320 Updated Rector to commit 0e4a46d75ac336dfdfc268bf8c2019121593a7b2
0e4a46d75a Drop AttributeKey::SCOPE in CountableAnalyzer (#3804)
2023-05-11 19:27:18 +00:00
Tomas Votruba
55e711a3e6 Updated Rector to commit f4ecf4a033e45042e659440e81281895cb343555
f4ecf4a033 Drop AttributeKey::SCOPE in CurrentAndParentClassMethodComparator (#3803)
2023-05-11 19:11:09 +00:00
Tomas Votruba
b98616208b Updated Rector to commit 257395af44e623a0f3a8827ebab4c7d9afbeef36
257395af44 [Testing] Remove unnecessary iterator_to_array() on FixtureFileFinder (#3800)
2023-05-11 16:55:10 +00:00
Tomas Votruba
e241ac1961 Updated Rector to commit 4db20ca6d5c2106a71d6c7113889f263aa379904
4db20ca6d5 [Console] Allow https url instead of git:// on SetupCICommand (#3799)
2023-05-11 15:16:47 +00:00
Tomas Votruba
e947b0aeed Updated Rector to commit 218d1dd561c49e3afbbaa60fa85b6fd327e62dac
218d1dd561 Update docs (#3798)
2023-05-11 13:07:24 +00:00
Tomas Votruba
18da0a6802 Updated Rector to commit 8d96ad5c8c895252b5ef8e98dde18e5b8de6a006
8d96ad5c8c Don't neon-decode phpstan configs over and over again (#3796)
2023-05-11 12:44:42 +00:00
Tomas Votruba
26bbf728d6 Updated Rector to commit d8da061308902cf4ef7a30963d5c9f32b6b9ec02
d8da061308 Make SimplifyIfNullableReturnRector + ChangeNestedIfsToEarlyReturnRector work without next/prev (#3794)
2023-05-11 11:52:57 +00:00
Tomas Votruba
b08682957f Updated Rector to commit 0e2b39c2841b845417775936177d2425edac09d3
0e2b39c284 Improve ParamTypeFromStrictTypedPropertyRector performance (#3795)
2023-05-11 09:24:38 +00:00
Tomas Votruba
c0d9ece267 Updated Rector to commit 662986980adce40be299cc221b715fba883e86cd
662986980a Drop AttributeKey::SCOPE in Rector classes (#3792)
2023-05-11 08:30:47 +00:00
Tomas Votruba
8afa5f961e Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
074b1781b3 Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793)
2023-05-11 07:56:32 +00:00
Tomas Votruba
34a9ea6ade Updated Rector to commit c63dd46e8d8881b576cee60ef09d68f52789a5ee
c63dd46e8d Drop AttributeKey::SCOPE in Rector-classes (#3790)
2023-05-10 18:50:31 +00:00
Tomas Votruba
039864701c Updated Rector to commit 764ef74406bf794b30f64d6c5a94e6abfebc4833
764ef74406 [DeadCode] Reduce findFirstPrevious() on RemoveUnusedvariableAssignRector (#3789)
2023-05-10 14:43:48 +00:00
Tomas Votruba
653075e6d9 Updated Rector to commit d87113675bbaaf8de972069779b48f706d2c73d6
d87113675b Ease finding slow files (#3785)
2023-05-10 10:08:41 +00:00
Tomas Votruba
7ecc9b6c23 Updated Rector to commit 388763c1b3151fbc9f2f934b349d9a7959d5d175
388763c1b3 [TypeDeclaration] Skip Arg unpack on AddMethodCallBasedStrictParamTypeRector (#3787)
2023-05-10 09:38:23 +00:00
Tomas Votruba
2cb797e1b1 Updated Rector to commit 11b278ca27f23ba4a2c55df877664fc23413a81d
11b278ca27 [CodeQuality] Remove SimplifyUselessLastVariableAssignRector as overly complex and should be handled individually (#3784)
2023-05-10 07:10:45 +00:00
Tomas Votruba
2cad3fa15d Updated Rector to commit 76da9489fe16c5854d5fed29b81197940025e975
76da9489fe Make ConsecutiveNullCompareReturnsToNullCoalesceQueueRector use of StmtsAwareInterface (#3783)
2023-05-10 06:07:59 +00:00
Tomas Votruba
6da6d1d775 Updated Rector to commit 89bc4d80f5dd4c7e81a616c8b58a921a1470a47b
89bc4d80f5 Make use of StmtsAwareInterface (#3781)
2023-05-10 05:18:05 +00:00
Tomas Votruba
bf29cbeb9e Updated Rector to commit 376f6cbd4a51290c63a42d77ac9fc9a3a5d0ab67
376f6cbd4a De-duplicate isAnonymous check (#3782)
2023-05-09 19:13:23 +00:00
Tomas Votruba
7ec53f4a70 Updated Rector to commit e6fd26353fa114ac92ba4b0c9b572f508b850e7f
e6fd26353f Get rid of  in the (#3780)
2023-05-09 16:39:58 +00:00
Tomas Votruba
91de512bfa Updated Rector to commit 3f0753eca0da687f51d0c4ad1c09e689bd813e43
3f0753eca0 [Php70] Skip curly named variable on ThisCallOnStaticMethodToStaticCallRector (#3779)
2023-05-09 07:47:22 +00:00
Tomas Votruba
3f1ac1628e Updated Rector to commit 6655c2c4e3d72d513c38162da5087bbc2df25b83
6655c2c4e3 [PHPStanStaticTypeMapper] Reduce bool check on UnionTypeMapper (#3778)
2023-05-09 07:42:34 +00:00
Tomas Votruba
6105d98780 Updated Rector to commit cb30fd90e2fafe2b0bc7f6bd3f3ec2e6c09a4b09
cb30fd90e2 [Transform] Remove MethodCallToAnotherMethodCallWithArgumentsRector as unused (#3777)
2023-05-08 21:19:03 +00:00
Tomas Votruba
4e94212010 Updated Rector to commit d9e17ca2c6bfc750eade85131368c8a2c35a0ca1
d9e17ca2c6 [Transform] Remove FileGetContentsAndJsonDecodeToStaticCallRector as only for demo purposes (#3776)
2023-05-08 21:11:06 +00:00
Tomas Votruba
dffd0b0f29 Updated Rector to commit 26550ca939279bf296f72b2457545c1a0ade3f8e
26550ca939 [Transform] Remove DimFetchAssignToMethodCallRector as unused (#3775)
2023-05-08 20:52:46 +00:00
Tomas Votruba
fc5810aace Updated Rector to commit 18770166ed5ac0c0c02a4de87d789182bbb36a76
18770166ed [Transform] Remove ArgumentFuncCallToMethodCallRector as never used (#3774)
2023-05-08 20:37:13 +00:00
Tomas Votruba
ef5c74799d Updated Rector to commit ee666531b8270e996557198e0ea15908faa1787c
ee666531b8 Extend code-quality set (#3773)
2023-05-08 20:28:23 +00:00
Tomas Votruba
9d9cee5a78 Updated Rector to commit 9a2fe2126433ad285790cd81ec8c05594de5b396
9a2fe21264 Make PreparedValueToEarlyReturnRector use StmtsAwareInterface (#3772)
2023-05-08 14:07:26 +00:00
Tomas Votruba
8af1a1213f Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
1e052f5883 [cleanup] Make use of getArgs(), remove ignored from phpstan (#3771)
2023-05-08 12:54:32 +00:00
Tomas Votruba
af500df8f4 Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
f6c4edcd0c [CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767)
2023-05-08 10:34:10 +00:00
Tomas Votruba
39697489d4 Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
5a32ed95b7 [cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770)
2023-05-08 10:34:06 +00:00
Tomas Votruba
930a1a2ba2 Updated Rector to commit 2d583eba1512d3b51e79503eba46466a32cb7374
2d583eba15 [cleanup] Make use of getArgs() (#3769)
2023-05-08 07:49:33 +00:00
Tomas Votruba
a2c39b778e Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
13d81f9089 [Cleanup] Make use of getArgs() directly (#3766)
2023-05-08 07:37:37 +00:00
Tomas Votruba
eebb3e5a4f Updated Rector to commit 103148c1af587421c31c68c6a7bc2ce623aaf7cf
103148c1af Defer type-resolving in BinaryOpBetweenNumberAndStringRector (#3763)
2023-05-08 04:38:58 +00:00
Tomas Votruba
359cac195c Updated Rector to commit b116bc0cbda89ff560680be74e6e35c9831b0e07
b116bc0cbd Defer type-resolving in RemoveJustPropertyFetchRector (#3761)
2023-05-08 04:31:43 +00:00
Tomas Votruba
1a8369a7a5 Updated Rector to commit 01c1377112dacbc80e690fd3468220645fc8a363
01c1377112 [CodingStyle] Remove RemoveDoubleUnderscoreInMethodNameRector, as naming is not handled for breaking reasons (#3765)
2023-05-07 20:14:55 +00:00
Tomas Votruba
4bf474e653 Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
be53013ca3 [CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764)
2023-05-07 19:35:01 +00:00
Tomas Votruba
82228b7056 Updated Rector to commit ea3d4f164337d11e757a0348d5445efb4b6d5b2f
ea3d4f1643 Defer type-resolving in SideEffectNodeDetector (#3762)
2023-05-07 19:13:32 +00:00
Tomas Votruba
5a5e7223f6 Updated Rector to commit ce46293db40c0f89be5119215f71e5c1a11ad215
ce46293db4 Defer type-resolving in ForeachToInArrayRector (#3756)
2023-05-07 19:04:44 +00:00
Tomas Votruba
546e7840f2 Updated Rector to commit 0f07aacd8626af970d2f60b911ba89259482d387
0f07aacd86 Defer type-resolving in TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3758)
2023-05-07 19:02:37 +00:00
Tomas Votruba
83ad95142a Updated Rector to commit eee943bb0f4c83e7c016100c330b31ed3c9746c5
eee943bb0f Defer type-resolving in UseIdenticalOverEqualWithSameTypeRector (#3755)
2023-05-07 19:02:29 +00:00
Tomas Votruba
d79b1c7718 Updated Rector to commit 31c1deb3f939c43ca4224cd7fed0e6b0140d4736
31c1deb3f9 Defer type-resolving in IterableTypeAnalyzer (#3760)
2023-05-07 19:01:30 +00:00
Tomas Votruba
fdffd78f22 Updated Rector to commit b44e008ed374f3c7f80974ef037e9236499d11d7
b44e008ed3 Defer type-resolving in AssignVariableTypeResolver (#3759)
2023-05-07 18:59:42 +00:00
Tomas Votruba
2f18a080f8 Updated Rector to commit ca36485a2e8abbdb36873d55a59676080be306ed
ca36485a2e Defer type-resolving in SimplifyBoolIdenticalTrueRector (#3757)
2023-05-07 18:57:49 +00:00
Tomas Votruba
df93022ac5 Updated Rector to commit 3e5c7ba11e79c8d30a2136f63f2ec9e4996faa8e
3e5c7ba11e Revert [Test] Re-try paratest (#3753) (#3754)
2023-05-07 13:12:29 +00:00
Tomas Votruba
5f003eb898 Updated Rector to commit 6c1045f0907bb7b33f800e72846da88efa33cf4e
6c1045f090 [Test] Re-try paratest (#3753)
2023-05-07 12:56:54 +00:00
Tomas Votruba
fff47a3319 Updated Rector to commit e97b7f5c5631588b9651ba09ab10ce081c9ec492
e97b7f5c56 Utilize MinPhpVersionInterface in more rules (#3752)
2023-05-07 08:04:34 +00:00
Tomas Votruba
96d4917fc6 Updated Rector to commit 34eddacde286346ac36fe0862751b45ba8a76c5e
34eddacde2 Improve TypedPropertyFromAssignsRector performance (#3749)
2023-05-07 08:00:09 +00:00
Tomas Votruba
f8706c58a3 Updated Rector to commit ffec9f0960d8f26c81b745a218b56a32e187c157
ffec9f0960 Remove parent node dependency from ReplaceEachAssignmentWithKeyCurrentRector (#3751)
2023-05-07 07:53:03 +00:00
Tomas Votruba
da6f698ff7 Updated Rector to commit 14fa8c914b12bfc6a4112d77e03057dab9b90cd4
14fa8c914b Cleanup phpstan errors (#3748)
2023-05-06 22:11:26 +00:00
Tomas Votruba
e7d9598446 Updated Rector to commit 3c592b05dc0aa78702a4b38d39711d78c404e279
3c592b05dc [CodeQuality] Remove ForToForeachRector, as overly deatiled and not reliable (#3747)
2023-05-06 21:47:33 +00:00
Tomas Votruba
b61a41bf01 Updated Rector to commit d13351c5b5800fdd9a25f1d8d9198749898ff2f6
d13351c5b5 Apply Rector + coding standard (#3745)
2023-05-06 18:23:35 +00:00
Tomas Votruba
67b4d9bb93 Updated Rector to commit 575e799aa59bc375fae671f469cb5b1574a96381
575e799aa5 Add SwapMethodCallArgumentsRector (#3726)
2023-05-06 18:21:26 +00:00
Tomas Votruba
69f023883a Updated Rector to commit c6cb214aa518e02f9cc0a13f1bae638de114189d
c6cb214aa5 Revert Performance: Early return in PhpDocNode refactoring for class renames (#3509) (#3744)
2023-05-06 16:56:43 +00:00
Tomas Votruba
a02530c7e5 Updated Rector to commit 6a8ebb97e32dbd283ebb1e83d9eae7dacdb2df2b
6a8ebb97e3 Fix ShortenedObjectType not resolving to correct class reflection (#3397)
2023-05-06 16:51:05 +00:00
Tomas Votruba
511bba65db Updated Rector to commit 48e431b52386ed8a200bc5f6e697fcf6f3a2db8f
48e431b523 Performance: Early return in PhpDocNode refactoring for class renames (#3509)
2023-05-06 16:33:33 +00:00
Tomas Votruba
5a69a7cac2 Updated Rector to commit e171f17abe66dfdc434edb87c3b695aa99654098
e171f17abe Support attributes in RemoveFinalFromEntityRector (#3727)
2023-05-06 16:27:08 +00:00