5545 Commits

Author SHA1 Message Date
Tomas Votruba
785165b60d Updated Rector to commit cdfe824fb114c0ee2fabbbc2e78ebd3babc9a3a7
cdfe824fb1 Require --dev symplify/phpstan-rules 14.0.0 (#6565)
2024-12-12 11:13:21 +00:00
Tomas Votruba
c578222ddf Updated Rector to commit 184eb2ed84405c011740792f1fee4e914e11b445
184eb2ed84 [TypeDeclaration] Handle default value with contant type on TypedPropertyFromAssignsRector (#6563)
2024-12-12 01:15:05 +00:00
Tomas Votruba
7f2e323f76 Updated Rector to commit 457927353525b5f87771493eaa7f79523383b071
4579273535 [TypedPropertyFromAssignsRector] Handle parse_url() native function with second arg on TypedPropertyFromAssignsRector (#6562)
2024-12-12 00:48:23 +00:00
Tomas Votruba
97f68f2790 Updated Rector to commit 1c9f2321754a7592a17f21b817c7c83548050e76
1c9f232175 Handle windows newline on AnnotationToAttributeRector (#6561)
2024-12-11 22:33:54 +00:00
Tomas Votruba
454e8b5274 Updated Rector to commit 4b38333206d21789bef444e363ecab63ef2022e6
4b38333206 [Attributes] Cover slash newline in AnnotationToAttributeRector with values (#6557)
2024-12-11 22:08:40 +00:00
Tomas Votruba
66435a54fc Updated Rector to commit 05bb5c63842477c0109b26a9ce382d5a34234ccd
05bb5c6384 [Php70] Revert array dim fetch handling on WrapVariableVariableNameInCurlyBracesRector (#6536)
2024-12-08 05:29:55 +00:00
Tomas Votruba
4434633b3a Updated Rector to commit 3a10b135cd7e74fdfb2de25708c8482f5beff31c
3a10b135cd [Php70] Use more precise variable name check on WrapVariableVariableNameInCurlyBracesRector (#6534)
2024-12-08 03:15:03 +00:00
Tomas Votruba
d0c3bb9110 Updated Rector to commit 70605936b150b2b589ef4fb3c1275667ff690b26
70605936b1 [Php70] Handle ArrayDimFetch on WrapVariableVariableNameInCurlyBracesRector (#6533)
2024-12-08 03:09:14 +00:00
Tomas Votruba
c491726ec5 Updated Rector to commit cbc295afa61413494420d8ed1ced1ed6cbc1f87f
cbc295afa6 [Php81] Skip by ref param on ReadOnlyPropertyRector (#6532)
2024-12-08 01:44:26 +00:00
Tomas Votruba
cb864b4bab Updated Rector to commit 4e2c77250209768b0d7308552ef9449205801fb6
4e2c772502 [Arguments] Handle crash on first class callable on ArgumentAdderRector (#6530)
2024-12-06 11:05:39 +00:00
Tomas Votruba
c56fdd2b7f Updated Rector to commit 1b68ff48b80d81bd4295ef304196fd97d74e0032
1b68ff48b8 [automated] Apply Coding Standard (#6524)
2024-12-01 00:43:07 +00:00
Tomas Votruba
26f67b1826 Updated Rector to commit 17ec20e0d9a1cc2ce11cd96292216dfc605a9244
17ec20e0d9 [CodingStyle] Fix phpstan notice always true check on loop on SplitDoubleAssignRector (#6521)
2024-11-28 10:29:31 +00:00
Tomas Votruba
897110e2bf Updated Rector to commit 101bdbfa9bd837daa593ad06f2eee44d259cbcca
101bdbfa9b [Php70] Do not replace if method call if method exists in current class on call same method with parent on Php4ConstructorRector (#6520)
2024-11-28 10:19:50 +00:00
Tomas Votruba
c4a5338933 Updated Rector to commit 0635cd9d519b9f8464e59e968bdfdcfde9b656bb
0635cd9d51 [Php70] Handle parent method call on Php4ConstructorRector (#6519)
2024-11-28 01:43:11 +00:00
Tomas Votruba
0e60fef0a2 Updated Rector to commit a456e4e04c2955b292d490af20f2fada7a1cb087
a456e4e04c [Php80] Mirror comments on assign on ChangeSwitchToMatchRector (#6516)
2024-11-27 07:27:32 +00:00
Tomas Votruba
9e165cccd3 Updated Rector to commit eb3f32daa89b22c32eb57e53f8d6e960ee1f2a7e
eb3f32daa8 [TypeDeclaration] Skip with default value and assigned mixed on TypedPropertyFromAssignsRector (#6514)
2024-11-26 12:03:44 +00:00
Tomas Votruba
f0b21a1aa7 Updated Rector to commit 4e03157469647636ad09b2c3e06278f3e0a71395
4e03157469 [Php83] Remove get traits class as ancestors collection on AddOverrideAttributeToOverriddenMethodsRector (#6513)
2024-11-26 06:09:13 +00:00
Tomas Votruba
684724756a Updated Rector to commit 3511ca1879c3065554deb7a8dc638ed9d1df0e0b
3511ca1879 [Php83] Allow indirect override abstract method on Grand Child on AddOverrideAttributeToOverriddenMethodsRector (#6512)
2024-11-26 05:54:59 +00:00
Tomas Votruba
87ea771410 Updated Rector to commit 615913ddaf7b0df3a2c56d50cf6973408aa1a983
615913ddaf Use createFromNode() from PhpDocInfoFactory on RemoveUnusedPrivateMethodRector (#6511)
2024-11-25 15:12:55 +00:00
Tomas Votruba
c5a315e2c4 Updated Rector to commit 12b471059bc5717e3f87cf1e811f05396e3571cf
12b471059b [DeadCode] Skip private dataProvider method on RemoveUnusedPrivateMethodRector (#6509)
2024-11-25 14:22:30 +00:00
Tomas Votruba
a6bbda76df Updated Rector to commit 1ec42bcc33f0607533e08d75c47b589d89e7649e
1ec42bcc33 feat: add the option to use the annotation value as an argument to the attribute (#6468)
2024-11-24 17:26:15 +00:00
Tomas Votruba
0ef2aced5a Updated Rector to commit fb169faf42679c046cd22ad865ae8097ccdb5799
fb169faf42 [Naming] Clean up unnecessary use of NodeTypeResolver on PropertyNaming (#6507)
2024-11-24 14:48:26 +00:00
Tomas Votruba
d68ed070fe Updated Rector to commit 8c20a7ed0a2eb3d26a275c0fef16b8f413e02b42
8c20a7ed0a [NodeTypeResolver] Clean up UseImportsResolver check on ClassRenamePhpDocNodeVisitor (#6500)
2024-11-24 13:40:52 +00:00
Tomas Votruba
57ac216872 Updated Rector to commit ed6887072d32d36be5f9dbe8d911316f552da3c5
ed6887072d  [Renaming] Handle rename conflict docblock name on RenameClassRector  (#6504)
2024-11-24 13:06:07 +00:00
Tomas Votruba
b4bc1ab851 Updated Rector to commit 3c42539f64f9c5aa44fed13a0072052462e5afde
3c42539f64 [CodeQuality] Fix aliased object type on FlipTypeControlToUseExclusiveTypeRector (#6497)
2024-11-24 07:24:25 +00:00
Tomas Votruba
3e195ba6aa Updated Rector to commit 9fae3bfccb95738f042fa7b4ebd5d80dafd0b0dc
9fae3bfccb [CodeQuality] Handle aliased object type from docblock on DynamicDocBlockPropertyToNativePropertyRector (#6493)
2024-11-24 06:30:18 +00:00
Tomas Votruba
a4b775b156 Updated Rector to commit b5b96c8af1570acb09faac2f22cb229c3905208f
b5b96c8af1 [Strict] Using in_array() on CallLike instead of double call on Strict Rules (part 2) (#6483)
2024-11-23 15:40:27 +00:00
Tomas Votruba
0f5e5b911d Updated Rector to commit 5b59337cedccda38caff556b0acfbe2c4a741d2d
5b59337ced Use Type->getIterableKeyType() over ArrayType->getKeyType() (#6480)
2024-11-23 10:35:10 +00:00
Tomas Votruba
f068c3b6a6 Updated Rector to commit 391ba2aed4cb68c59ef4400f76f41e8dd9538e10
391ba2aed4 Use Type->getIterableValueType() over ArrayType-> getItemType() (#6479)
2024-11-23 09:23:11 +00:00
Tomas Votruba
707ad42e13 Updated Rector to commit 2f77705509ab9944375d34c5278e4383285f5096
2f77705509 [DeadCode] Handle crash on valid conditional type on RemoveUselessReturnTagRector (#6475)
2024-11-22 18:45:24 +00:00
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