Commit Graph

17408 Commits

Author SHA1 Message Date
Tomas Votruba
cd89d88b46 Updated Rector to commit e3f909cf030971b542c9c508298c729abb60eefe
e3f909cf03 cs
2023-12-03 15:01:51 +00:00
Tomas Votruba
f9c1f58ffc Updated Rector to commit 52b665436c0f2161619b265caa3f2a65be5604dc
52b665436c [PHP83] Implements a rule to add types to class constants (#5290)
2023-12-03 14:59:47 +00:00
Tomas Votruba
1bcbe800e1 Updated Rector to commit ea5b331e7ea67a03b4c3f162c566a8dbfd74d55d
ea5b331e7e [CodeQuality] Add RemoveUselessIsObjectCheckRector (#5316)
2023-12-03 12:25:03 +00:00
Tomas Votruba
3ef06bdaf4 Updated Rector to commit be924be778eeceffa6105ab330ea7eb366ebb44b
be924be778 [TypeDeclaration] Add If else assign support on TypedPropertyFromAssignsRector (#5314)
2023-12-03 11:18:10 +00:00
Tomas Votruba
2a8dd1b78f Updated Rector to commit 368075b95cf10dff9d0313abbe94d3c6d3b28f67
368075b95c [PHP 7.0] Skip mt_rand() replacement as not valuable (#5315)
2023-12-03 10:51:00 +00:00
Tomas Votruba
0e71ab1566 Updated Rector to commit 383258215298bac5f8c2d092373b58f74c6792db
3832582152 cs
2023-12-03 10:04:57 +00:00
Tomas Votruba
0668f1e99c Updated Rector to commit ae081e11dae915e05a58cbd9d2a995f3ac868254
ae081e11da [TypeDeclaration] Keep constant false return type from strict native call (#5223)
2023-12-03 09:56:22 +00:00
Tomas Votruba
77ce00c02a Updated Rector to commit 483aca176cd25b478a99fe213a98ec5bd348bd13
483aca176c [Php80] Skip PDO::query() on AddParamBasedOnParentClassMethodRector (#5313)
2023-12-03 09:17:50 +00:00
Tomas Votruba
ec76be2243 Updated Rector to commit eeadb4936577a998b32e13c7ec7fc7bbb1d8722c
eeadb49365 [automated] Apply Coding Standard (#5312)
2023-12-03 00:29:06 +00:00
Tomas Votruba
93efaa2dcc Updated Rector to commit 3b84030d093b9896615f640ad0e361c923af8953
3b84030d09 [TypeDeclaration] Skip return void in abstract empty class in AddVoidReturnTypeWhereNoReturnRector (#5311)
2023-12-02 19:56:06 +00:00
Tomas Votruba
123030c782 Updated Rector to commit cd9ea2c717511f81e7bb7298a62f8ea558441a37
cd9ea2c717 [Privatization] Fix first class callable in PrivatizeLocalGetterToPropertyRector (#5310)
2023-12-02 15:17:23 +00:00
Tomas Votruba
c520a88733 Updated Rector to commit cd9ea2c717511f81e7bb7298a62f8ea558441a37
cd9ea2c717 [Privatization] Fix first class callable in PrivatizeLocalGetterToPropertyRector (#5310)
2023-12-02 13:42:50 +00:00
Tomas Votruba
de5ec400ca Updated Rector to commit aac9573e0ef040c236a569a9cbbe965af61ab0b8
aac9573e0e [Privatization] Skip call non-private method on non-final class on PrivatizeLocalGetterToPropertyRector (#5309)
2023-12-02 08:58:47 +00:00
Tomas Votruba
b698053254 Updated Rector to commit 5c8fa12ec90e4d4b55fd05f48509c538c243482d
5c8fa12ec9 [Doc] Typo fix on sample code documentation on SimplifyForeachToCoalescingRector (#5308)
2023-12-02 05:05:22 +00:00
Tomas Votruba
cb8a63ca31 Updated Rector to commit 71c22e20d9a3b2ba187515711b13fca40b595d93
71c22e20d9 [CodeQuality] Skip with else on SimplifyForeachToCoalescingRector (#5307)
2023-12-02 04:51:32 +00:00
Tomas Votruba
971392df51 Updated Rector to commit 17397d5aecee91cdb525a1e1b012718a101cf4be
17397d5aec [PostRector] Allow remove end with name check backslash on UnusedImportRemovingPostRector (#5306)
2023-12-02 04:29:10 +00:00
Tomas Votruba
14ad1a6981 Updated Rector to commit 7badba687c3dfb247726757c5589629c45fe3ca2
7badba687c [PostRector] Allow remove unused use sub namespace on UnusedImportRemovingPostRector (#5299)
2023-12-02 03:47:46 +00:00
Tomas Votruba
c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +00:00
Tomas Votruba
a1e301f6e8 Updated Rector to commit 6c8197667db0cb463eeda93b14b4c6f36e4aab05
6c8197667d [Scoped] Exclude symfony/console/Debug/CliRequest.php from parallel-lint PHP 7.2 syntax check (#5304)
2023-11-30 18:02:55 +00:00
Tomas Votruba
35f86a2fad Updated Rector to commit 91f9f3057c2d51018228ed89273a76da991d3f45
91f9f3057c Use symfony/console ~6.3.9 to fix downgrade build (#5302)
2023-11-30 10:06:33 +00:00
Tomas Votruba
f8dc5ef396 Updated Rector to commit 84bcfebdf7e9f522c8f9f9e97814c82d3d5d3315
84bcfebdf7 [CodingStyle] Remove AddArrayDefaultToArrayPropertyRector as based on docblock types and public contract, better use type declaration set instad (#5298)
2023-11-28 20:19:53 +00:00
Tomas Votruba
84b97fe47c Updated Rector to commit c3840325600449b562691e34612279dcd4316043
c384032560 [Strict] Fix DisallowedEmptyRuleFixerRector empty() allow string '0' check (#5296)
2023-11-28 17:41:50 +00:00
Tomas Votruba
54e7a3a895 Updated Rector to commit 765b63696eb3bc240e92f10b00169b146c99463a
765b63696e [TypeDeclaration][Performance] Check typed param already early on ParamTypeByMethodCallTypeRector (#5295)
2023-11-28 11:12:27 +00:00
Tomas Votruba
7a2348073c Updated Rector to commit 118fbde3b1ccc3685c55cd2704bc971d2d49ef41
118fbde3b1 [TypeDeclaration] Remove ParamTypeFromStrictTypedPropertyRector as seems similar feature with AddParamTypeFromPropertyTypeRector (#5293)
2023-11-28 10:10:36 +00:00
Tomas Votruba
198f3d0446 Updated Rector to commit 4a2b4a63878dabbb02eeb9fc73587e9b57ad0bdf
4a2b4a6387 [Naming] Skip singularize "cms" on RenameForeachValueVariableToMatchExprVariableRector (#5294)
2023-11-28 04:43:10 +00:00
Tomas Votruba
3aaf5b74fb Updated Rector to commit b5f434b53c4c6fceb88c19d4656e4f11c6092f3c
b5f434b53c [CodeQuality] Make CommonNotEqualRector skip if not <> (#5292)
2023-11-27 16:03:30 +00:00
Tomas Votruba
8486081737 Updated Rector to commit e66754adeaad2e9cb67cf1784a6255285dfc542d
e66754adea [TypeDeclaration] Skip iterable already there in AddReturnTypeDeclarationFromYieldsRector (#5291)
2023-11-27 13:46:01 +00:00
Tomas Votruba
9621124c86 Rector 0.18.11 2023-11-27 13:27:43 +00:00
Tomas Votruba
0fdd1351c0 Updated Rector to commit 09a962c8cc695e8fdbeeb24e7f00f92008076ac4
09a962c8cc [Test] Add test for combination aliased + sub namespace usage on AnnotationToAttributeRector (#5289)
2023-11-26 07:53:02 +00:00
Tomas Votruba
fc58b106ae Updated Rector to commit 09a962c8cc695e8fdbeeb24e7f00f92008076ac4
09a962c8cc [Test] Add test for combination aliased + sub namespace usage on AnnotationToAttributeRector (#5289)
2023-11-26 01:25:49 +00:00
Tomas Votruba
e2f1022fae Updated Rector to commit b11e87fa978ec5692785b61d90ebd89c9b922108
b11e87fa97 [automated] Apply Coding Standard (#5288)
2023-11-26 00:28:38 +00:00
Tomas Votruba
c581b77bce Updated Rector to commit 9ddef0001c3b7251f80e0c06d6ef0d35363a7cd4
9ddef0001c [Php80] Allow subnamespace from use statements support on AnnotationToAttributeRector (#5287)
2023-11-25 15:16:38 +00:00
Tomas Votruba
9fde5b0ea8 Updated Rector to commit 8b7829f77f2393d41ff71a2e0f0504835e22bba2
8b7829f77f [AutoImport] Apply @\ auto import on AnnotationToAttributeRector (#5286)
2023-11-25 10:51:46 +00:00
Tomas Votruba
2591f22d70 Updated Rector to commit 3f42ee98ffefc73677b93308fe53508bd260a574
3f42ee98ff [BetterPhpDocParser] Use ORIG_NODE attribute on DoctrineAnnotationDecorator on handle @\ after generic (#5285)
2023-11-25 04:56:26 +00:00
Tomas Votruba
e9aa33c327 Updated Rector to commit 5adf574161ebce53984822da71d711e3b2ba10e9
5adf574161 Add test for string numeric key on ArrayItemNode (#5284)
2023-11-25 01:47:38 +00:00
Tomas Votruba
a2c4ddda1f Updated Rector to commit 19b42014a5d00de5181bc2463d4c368c5cf194d7
19b42014a5 [AutoImport] Handle multiple @\ after GenericTagValueNode (#5277)
2023-11-25 01:30:44 +00:00
Tomas Votruba
c92985cc7e Updated Rector to commit d864d7b856e7bb8b7e98db96793ceb1036c1bf7b
d864d7b856 [Privatization] Skip method with parent call (#5283)
2023-11-23 16:52:05 +00:00
Tomas Votruba
2a2c91cc0a Updated Rector to commit 72c0216eb84088c809938ed26f5d109fc9737485
72c0216eb8 [AutoImport] Re-enable keep comment before multiple \@ (#5282)
2023-11-23 10:23:44 +00:00
Tomas Votruba
a93a16aa8f Updated Rector to commit 06eb1086dc29632d8eafce3405358720dfb22875
06eb1086dc [BetterPhpDocParser] Handle nested doctrine annotation with single quote content (#5281)
2023-11-23 09:58:55 +00:00
Tomas Votruba
174f8a5aa9 Updated Rector to commit 51695ae6530819aa27b02adb62160952c34b3797
51695ae653 [Php80] Handle FQCN @\ usage on AnnotationToAttributeRector (#5240)
2023-11-23 09:45:27 +00:00
Tomas Votruba
71b900a429 Updated Rector to commit 520829e40510639bce645ed81277b2d4c20be7fc
520829e405 Temporary restore keep comment feature on before @\ with auto import (#5280)
2023-11-23 07:06:09 +00:00
Tomas Votruba
c25dee5eed Updated Rector to commit 1b12d623d2087c715c1634a433480b4a660afdaf
1b12d623d2 no need increment key (#5279)
2023-11-23 06:34:29 +00:00
Tomas Votruba
abfb2703a0 Updated Rector to commit 26f3570e71dc247e6884ee9538d938705c72ef60
26f3570e71 ensure pointed to target key (#5278)
2023-11-23 06:22:22 +00:00
Tomas Votruba
734ddb9b69 Updated Rector to commit 944d5fbe3751661c1a2d62e528e5ba7aee663fe8
944d5fbe37 [AutoImport] Handle multile @\ before GenericTagValueNode (#5276)
2023-11-23 06:07:24 +00:00
Tomas Votruba
d63b3725a3 Updated Rector to commit e7e40f175015799441dde3e99663dd6e88d87dea
e7e40f1750 [AutoImport] Handle multile @\ with comment before (#5275)
2023-11-23 00:29:58 +00:00
Tomas Votruba
01a38222d7 Updated Rector to commit 152b8e351b794f44e532c39a3c29f40d7d699599
152b8e351b [AutoImport] Handle multi @\ usage on multiline description (#5274)
2023-11-22 21:58:28 +00:00
Tomas Votruba
33d9d17164 Updated Rector to commit 284b1b966279a8e9f6fdeffd49ef2a02aa3a62be
284b1b9662 [AutoImport] Handle complex usage of multiple @\ combined with other doc (#5273)
2023-11-22 21:21:18 +00:00
Tomas Votruba
622a13c7e5 Updated Rector to commit fcd1b1aa6bbf59aaebf119a122d4f7aa045e15f1
fcd1b1aa6b [Performance][Renaming] Use FullyQualified on RenameClassRector (#5272)
2023-11-22 17:40:48 +00:00
Tomas Votruba
b8b986a680 Updated Rector to commit e138f84792e483e8b653dc79271be376bbc1e41d
e138f84792  [AutoImport] Fixing auto import on multiple @\ usage  (#5271)
2023-11-21 23:36:57 +00:00
Tomas Votruba
7a8bc36a24 Updated Rector to commit 189a02635533f450aea58d8de075e494f538182b
189a026355 Remove deprecated Rector rules (#5270)
2023-11-21 14:32:38 +00:00