Commit Graph

17332 Commits

Author SHA1 Message Date
Tomas Votruba
e5e3c815d5 Updated Rector to commit 14f11280c85a2776b211dac001f0accd4295c587
14f11280c8 [Naming] Skip DateTimeImmutable on RenamePropertyToMatchTypeRector (#5340)
2023-12-08 14:41:39 +00:00
Tomas Votruba
548d5109ed Updated Rector to commit 0a2dc3d52b679bad1b07849d951748a8faad7f9a
0a2dc3d52b Fix array type if property is used in TypedPropertyFromStrictConstructorRector (#5339)
2023-12-08 13:59:08 +00:00
Tomas Votruba
d471c4dbd9 Updated Rector to commit af55788ca8f814c658d39444a9cefa67135805b6
af55788ca8 [PHP 5.5] Remove extra preslash in class reference, as in practice removal manually (#5338)
2023-12-08 11:29:59 +00:00
Tomas Votruba
9e3e9b62ed Updated Rector to commit 9e39db80cf2a763ae6006b3747feb69d82ade52d
9e39db80cf [DeadCode] Skip has parent class with __call() magic method on RemoveParentCallWithoutParentRector (#5336)
2023-12-07 04:38:08 +00:00
Tomas Votruba
e7bdaa4244 Updated Rector to commit b6f53b95e8a0ced2dd8197f9c46640ee9010a63b
b6f53b95e8 add mock object test fixture (#5335)
2023-12-06 23:05:01 +00:00
Tomas Votruba
fb06a0e1f2 Updated Rector to commit 79c57f019e1c94c72ef79cb6cbdda864bdc2e1c1
79c57f019e [TypeDeclaration] Handle assign $this on TypedPropertyFromAssignsRector (#5333)
2023-12-06 14:25:02 +00:00
Tomas Votruba
58923caaf6 Updated Rector to commit 043d43cd0347b4c2a73e896674a1f22ab1ce6d62
043d43cd03 [DeadCode] Remove unused @return mixed on RemoveUselessReturnTagRector (#5332)
2023-12-06 13:28:15 +00:00
Tomas Votruba
942be869a9 Updated Rector to commit 1daab3c53f4a09669d2d915f7e245e984ace908d
1daab3c53f [DeadCode] Add Function_ support on RemoveUselessParamTagRector (#5331)
2023-12-06 10:48:40 +00:00
Tomas Votruba
413475184c Updated Rector to commit a92fade7d0fbfcee3fb3e4f0ff5620e281de8ce0
a92fade7d0 [TypeDeclaration] Handle DateTimeInterface from use statement on MergeDateTimePropertyTypeDeclarationRector (#5330)
2023-12-05 21:28:49 +00:00
Tomas Votruba
e86b6d37a6 Updated Rector to commit d22741edaf63d488b39f7754353b0ea8cc454836
d22741edaf [TypeDeclaration] Fix missing change type to DateTimeInterface on MergeDateTimePropertyTypeDeclarationRector (#5329)
2023-12-05 21:03:16 +00:00
Tomas Votruba
13aada9fdc Updated Rector to commit b1a50d4c785b9fc1498bcd843e58635350e10114
b1a50d4c78 [TypeDeclaration] Add MergeDateTimePropertyTypeDeclarationRector (#5327)
2023-12-05 14:01:18 +00:00
Tomas Votruba
2f9139b981 Updated Rector to commit 1b1afebd878e60ee25af5fe1bb9ef3f95fe47d33
1b1afebd87 [Php83] Fix const from applying incorrect types (#5326)
2023-12-05 12:35:18 +00:00
Tomas Votruba
374ed77ef0 Updated Rector to commit 4531aeb0cd7ef47a75afbee72237eef45b4cc266
4531aeb0cd [DeadCode] Add Function_ support on RemoveUselessReturnTagRector (#5325)
2023-12-05 09:55:15 +00:00
Tomas Votruba
1095b54b14 Updated Rector to commit 005ccc330c3bb37f9faf0f5e2c319036f2d055b8
005ccc330c Rectify (#5324)
2023-12-04 14:56:20 +00:00
Tomas Votruba
1754c2c66a Updated Rector to commit 526f4cd09c06842987e46d661b6ad87a8da723a7
526f4cd09c Remove return type in case of never in RemoveUselessReturnTagRector (#5323)
2023-12-04 14:51:16 +00:00
Tomas Votruba
ed8d5352a3 Rector 0.18.12 2023-12-04 08:47:30 +00:00
Tomas Votruba
6cba20638d Updated Rector to commit 80cf5781c3bf477076753e2a0c2890ae0ecbb4c1
80cf5781c3 [DeadCode] Remove useless nullable @return doc on RemoveUselessReturnTagRector (#5321)
2023-12-04 05:22:37 +00:00
Tomas Votruba
ee373e619a Updated Rector to commit 41729c25cb33ec5219433d5e101d6d54ed4045a2
41729c25cb [DeadCode] Skip @return never with void on  RemoveUselessReturnTagRector (#5320)
2023-12-04 01:56:17 +00:00
Tomas Votruba
d9834a6d69 Updated Rector to commit 8e6d46a58fff8e6bd5276b9ae473bfb91460b487
8e6d46a58f [Instanceof] Fix combination of dead instance and compare (#5319)
2023-12-03 20:12:56 +00:00
Tomas Votruba
ab4ff53673 Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
026398c9e1 Remove return type in case of void in RemoveUselessReturnTagRector (#5318)
2023-12-03 19:10:14 +00:00
Tomas Votruba
07dd432ed3 Updated Rector to commit b8e6818ed04f3aa07218569509bd819db3649820
b8e6818ed0 tidy
2023-12-03 17:44:01 +00:00
Tomas Votruba
7124cd0a2c Updated Rector to commit 055ab62e3fa14a1aaccd2a5e7f2a9fd354fbd600
055ab62e3f Fix annotation to attribute parsing string (#5317)
2023-12-03 17:40:26 +00:00
Tomas Votruba
e7fa7d1aa0 Updated Rector to commit 18617f9880d098bceae210512c190c8d44aa7811
18617f9880 Remove isPositiveInteger() check for third argument to strpos() (#5257)
2023-12-03 16:56:59 +00:00
Tomas Votruba
9d01b5b403 Updated Rector to commit d9c5d8f09bfd68e7496c07c23ddac03447cfbb32
d9c5d8f09b [Strict] Allow check '0' empty zero on BooleanInTernaryOperatorRuleFixerRector on string type (#5297)
2023-12-03 15:49:51 +00:00
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