5515 Commits

Author SHA1 Message Date
Tomas Votruba
d1b244bbb1 Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 14:35:22 +00:00
Tomas Votruba
0d328f0c6a Updated Rector to commit c6ca719d34c36290dd8547ef427e6a9e9a0a427a
c6ca719d34 [CodeQuality] Skip used by array callable on LocallyCalledStaticMethodToNonStaticRector (#6473)
2024-11-22 13:39:03 +00:00
Tomas Votruba
2070d857a2 Updated Rector to commit c322032a07f4fb418618f8de2ef9b475b57ebd0f
c322032a07 [DeadCode] Skip used by get_object_vars() when implements JsonSerializable on RemoveUnusedPromotedPropertyRector (#6472)
2024-11-22 13:24:53 +00:00
Tomas Votruba
8e93d75fe8 Updated Rector to commit 9d022cf92dc64a325f9f739bcf8ee78fb41ee4e5
9d022cf92d [Php83] Skip add #[\Override] on non-empty method from trait on AddOverrideAttributeToOverriddenMethodsRector (#6471)
2024-11-22 12:46:59 +00:00
Tomas Votruba
6ddb4992d1 Updated Rector to commit 50496986f393c0ce7406301b7fe6887dfb7986f8
50496986f3 [Renaming] Fix space on union docblock during rename on RenameClassRector (#6463)
2024-11-21 12:41:02 +00:00
Tomas Votruba
fe43132e50 Updated Rector to commit 401210e8630b280a0c84c3de31115e0fe63ada81
401210e863 [TypeDeclaration] Skip mixed as on right of and on ParamTypeByMethodCallTypeRector (#6401)
2024-11-21 10:10:22 +00:00
Tomas Votruba
7028045e34 Updated Rector to commit f3750d785fd5128c9b3f124036d5e6532fc63807
f3750d785f [DeadCode] Skip by docblock definition on RemoveAlwaysTrueIfConditionRector (#6461)
2024-11-21 03:05:46 +00:00
Tomas Votruba
8b18794be6 Updated Rector to commit 57b9ccfb1404a455591a3d405377e46a71528f11
57b9ccfb14 [Php71] Skip already array destruct on ListToArrayDestructRector (#6460)
2024-11-21 02:40:18 +00:00
Tomas Votruba
11b7b49dea Updated Rector to commit e16c1d58032fe356ecfb444458c730600b6694db
e16c1d5803 [CodeQuality] Handle crash on return array constant on ExplicitReturnNullRector (#6458)
2024-11-20 21:40:58 +00:00
Tomas Votruba
cf5256d333 Updated Rector to commit 28df807c6ee620a5c5f3088979d6d2fc93d58352
28df807c6e [attributes] Make sure the target attribute class exists (#6454)
2024-11-20 20:34:59 +00:00
Tomas Votruba
c75740ab0c Updated Rector to commit ba57166d9eb828d5c0d62a591b46b774242961e9
ba57166d9e cs
2024-11-20 19:59:31 +00:00
Tomas Votruba
9a4a5b2bc5 Updated Rector to commit eb5df4dde7515bbc497af6da84d5f9dbf96399d8
eb5df4dde7 Use vendor-patches main branch (#6453)
2024-11-20 15:58:53 +00:00
Tomas Votruba
64e49b4865 Updated Rector to commit 26b4d97db9db66662f752f0631036509536c41d7
26b4d97db9 Fix interface implementer in AddOverrideAttributeToOverriddenMethodsRector, add override only in case of overiding parent method with contents (#6447)
2024-11-16 23:40:43 +00:00
Tomas Votruba
c8d4dd98ae Updated Rector to commit e562253268ac3c2b37c3b267d1208148a0a313b5
e562253268 [dx] Add HTMLAverseRectorInterface to teach rules to skip HTML + PHP mix that would go wrong (#6445)
2024-11-16 16:56:04 +00:00
Tomas Votruba
d04183c439 Updated Rector to commit c7dfbe7c462c103f78b1fa33e89a32dfa6e26299
c7dfbe7c46 [DeadCode] Allow remove assign variable with next method call on RemoveDoubleAssignRector (#6443)
2024-11-16 15:27:02 +00:00
Tomas Votruba
1de0a37261 Updated Rector to commit e7800e9eb89bae4e585f66c26d1f70d83c2a3f4a
e7800e9eb8 Fix RemoveDoubleAssignRector in case of method call (#6442)
2024-11-16 12:49:07 +00:00
Tomas Votruba
dc2c22a33a Updated Rector to commit 373747cef4e013317763c78df56f370203e33d4b
373747cef4 [deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead (#6434)
2024-11-14 17:10:56 +00:00
Tomas Votruba
f64f98a9e9 Updated Rector to commit 3ee5b725863d6e5a6e6ab51f13d1c9c7bbffc939
3ee5b72586 [TypeDeclaration] Skip test methods with exception in ReturnNeverTypeRector, [php74] Skip conditinal assign in RestoreDefaultNullToNullableTypePropertyRector as most likely desired to assign or fail (#6430)
2024-11-13 15:43:07 +00:00
Tomas Votruba
8353c66b11 Updated Rector to commit c2053c75d6c55d2ca64f2003915aa8953c376f98
c2053c75d6 [deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector (#6425)
2024-11-12 22:22:48 +00:00
Tomas Votruba
f0fc008db1 Updated Rector to commit c23ba82ebce17c9d150d18de09a7d80a2a28a0e7
c23ba82ebc [deprecation] Remove deprecated PublicConstantVisibilityRector, cleanup deprecated SetListInterface (#6424)
2024-11-12 21:25:01 +00:00
Tomas Votruba
5ba0775948 Updated Rector to commit 26b8b540ed08315062c007dafd572f9896b509eb
26b8b540ed [Naming] Reduce instanceof ObjectType on ExpectedNameResolver (take 5) (#6423)
2024-11-12 14:20:05 +00:00
Tomas Votruba
7e09c8b171 Updated Rector to commit 84bb59697d2cf5d564b5a2ace9be4f3496d6f131
84bb59697d [StaticTypeMapper] Reduce instanceof TypeWithClassName usage via ClassNameFromObjectTypeResolver (#6421)
2024-11-12 13:18:09 +00:00
Tomas Votruba
e1780f6e77 Updated Rector to commit 06adce3c1a50de37f64eb9afe9635834540402f4
06adce3c1a use ->isInteger()->yes() on ReturnTypeFromStrictNewArrayRector (#6419)
2024-11-12 07:58:17 +00:00
Tomas Votruba
5617a1e6b4 Updated Rector to commit d2db35ef07cb9819544caec477d63c150e3e196c
d2db35ef07 [Php80] Returns null on no change on ClassPropertyAssignToConstructorPromotionRector (#6418)
2024-11-12 03:25:54 +00:00
Tomas Votruba
0b834e6092 Updated Rector to commit 3949fc260b51c4355f86d21a26db7d2e4cae0b49
3949fc260b Move instanceof PHPStan Type to ->is*() take 1 (#6416)
2024-11-12 00:20:18 +00:00
Tomas Votruba
5661b8e5ee Updated Rector to commit 29e89320f0b5c81e2130320ac55f0821daaf4e14
29e89320f0 [automated] Apply Coding Standard (#6414)
2024-11-10 00:36:02 +00:00
Tomas Votruba
13fa6331c7 Updated Rector to commit 1b1807b0f8426641e13e5914389e1c118b3a3d14
1b1807b0f8 [Privatization] Skip with parameter on PrivatizeLocalGetterToPropertyRector (#6412)
2024-11-08 10:28:39 +00:00
Tomas Votruba
b5c99e3c4b Updated Rector to commit afe7c46c0387e27e1eae37cf76f8a3a4119a1d39
afe7c46c03 [DeadCode] Skip nullable @ template on RemoveUselessReturnTagRector (#6409)
2024-11-05 14:20:22 +00:00
Tomas Votruba
3b34becccf Updated Rector to commit 1afc64719771eae635df76bf5f85b225b459b3d6
1afc647197 Rectify (#6408)
2024-11-04 22:17:28 +00:00
Tomas Votruba
4261346417 Updated Rector to commit f7ea3dbfeb4e02ab42442dd9e90283e8af098e4f
f7ea3dbfeb [PHP8.3] add new rectors for get_class()/get_parent_class() without arguments (#6405)
2024-11-04 22:04:11 +00:00
Tomas Votruba
7f755fff28 Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-11-03 23:41:59 +00:00
Tomas Votruba
d62daba49d Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-10-30 21:50:53 +00:00
Tomas Votruba
6aa0ede384 Updated Rector to commit d246d27a9442cc08a419e899e07c2c19a680eb80
d246d27a94 [CodeQuality] Skip multiple lines on JoinStringConcatRector (#6404)
2024-10-29 23:20:09 +00:00
Tomas Votruba
d06c6cec7a Updated Rector to commit 61ebcc53b5c50f244ce0f7dfb626ded8d371c0a5
61ebcc53b5 [DeadCode] Support multiple templates in RemoveUselessVarTagRector (#6402)
2024-10-27 08:17:32 +00:00
Tomas Votruba
8baae8f317 Updated Rector to commit 61a787e62541281bd5f3678fb2819d645c8f0055
61a787e625 [DeadCode] Check TemplateType instance check on Dead*TagValueNodeAnalyzer (#6400)
2024-10-26 15:11:15 +00:00
Tomas Votruba
6e934f1847 Updated Rector to commit aa7c931b47d3983290d2bec9916862099752e834
aa7c931b47 [Php80] Skip @template T as mixed on MixedTypeRector (#6399)
2024-10-26 12:08:27 +00:00
Tomas Votruba
a9d7dc8786 Updated Rector to commit 6e1af0301b4dd51ed4709dc772a34a1fa169a339
6e1af0301b [DeadCode] Skip @template tag on RemoveUselessVarTagRector (#6396)
2024-10-26 11:39:19 +00:00
Tomas Votruba
0065fd82b8 Updated Rector to commit 69d3af96731688eb8720e35a76665449d4d504aa
69d3af9673 [Php80] Mirror return comment on ChangeSwitchToMatchRector (#6394)
2024-10-22 14:24:09 +00:00
Tomas Votruba
b330d66632 Updated Rector to commit 512dfc26c3c1442f7f0643d565282af031be7941
512dfc26c3 [DeadCode] Handle handle consecutive equal with jump different case on RemoveDuplicatedCaseInSwitchRector (#6393)
2024-10-21 15:29:15 +00:00
Tomas Votruba
acd20420e4 Updated Rector to commit a130d2b2e1ac2305c35b956b8aa67f46df3cbfce
a130d2b2e1 [DeadCode] Handle consecutive equal case stmts on RemoveDuplicatedCaseInSwitchRector (#6392)
2024-10-21 12:09:28 +00:00
Tomas Votruba
9e205fbc3e Updated Rector to commit 23917974669d13ac0632cf53f6c85c7f74e98a6b
2391797466 [CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector (#6390)
2024-10-20 00:34:29 +00:00
Tomas Votruba
2269fb9654 Updated Rector to commit 3bd920dc75b8b25cace7af734d127a2bf275881d
3bd920dc75 [CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector (#6389)
2024-10-19 07:29:54 +00:00
Tomas Votruba
bac627b08c Updated Rector to commit 92f7afcdb0b07a5dab5317c2edd708a5729a7b3e
92f7afcdb0 [Strict] Using in_array() on CallLike instead of double call on Strict Rules (#6388)
2024-10-19 00:54:01 +00:00
Tomas Votruba
82270e53ff Updated Rector to commit 7be438b5fc0f91a9dc9b70a0b6a38a6bf1e906b2
7be438b5fc [DeadCode] Skip non FullyQualified property type on RemoveTypedPropertyNonMockDocblockRector (#6383)
2024-10-15 21:27:10 +00:00
Tomas Votruba
1a957f8b19 Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa
61016bf530 [CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#6382)
2024-10-12 16:35:17 +00:00
Tomas Votruba
80d5259a88 Updated Rector to commit 385d423d4f2b5577bfb5d70f6e41e09f3460a057
385d423d4f [CodeQuality] Handle with other attributes on DynamicDocBlockPropertyToNativePropertyRector (#6381)
2024-10-12 16:26:30 +00:00
Tomas Votruba
254c38f757 Updated Rector to commit d180b8d7363f508a4e9c6931c327c65aed5ff6ee
d180b8d736 [CodeQuality] Skip no @property doc on DynamicDocBlockPropertyToNativePropertyRector (#6380)
2024-10-12 16:15:59 +00:00
Tomas Votruba
8defa24cad Updated Rector to commit d7bfc24bedc11374868f5a7ff3066eb847e80a8c
d7bfc24bed [CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector (#5691)
2024-10-12 15:40:38 +00:00
Tomas Votruba
7f5124447e Updated Rector to commit d8f31e7559c9e3e288f2f58228120c71986a80e9
d8f31e7559 Add RemoveTypedPropertyNonMockDocblockRector (#6306)
2024-10-11 11:22:44 +00:00
Tomas Votruba
c5229331d4 Updated Rector to commit 28ba716ca753c2a2a1a0d22ef7aec12af2d81ba0
28ba716ca7 [Transform] MethodCall to New (#6352)
2024-10-11 08:44:48 +00:00