17539 Commits

Author SHA1 Message Date
Tomas Votruba
5c2f93e7b7 Updated Rector to commit f7b9dd9035931da5a040f5c714c79c32c424b677
f7b9dd9035 Update rector.php of skip() to allow file name has word: "Expected" (#5347)
2023-12-10 02:05:30 +00:00
Tomas Votruba
34915563d5 Updated Rector to commit bc69455d8a05c1325d64dac545931594ca1fe4aa
bc69455d8a [automated] Apply Coding Standard (#5346)
2023-12-10 00:29:46 +00:00
Tomas Votruba
976e6eb341 Updated Rector to commit ccbee6ff09668241b9f8bcadbaa05ba4fb8fda5f
ccbee6ff09 [automated] Re-Generate Nodes/Rectors Documentation (#5345)
2023-12-10 00:29:28 +00:00
Tomas Votruba
0125f4dfcf Updated Rector to commit 99dbc0d8b7ca27e803c78657979f574476208125
99dbc0d8b7 [Experiment][TypeDeclaration] Allow change abstract class methods with body on ReturnType*Rector (#5344)
2023-12-09 17:15:42 +00:00
Tomas Votruba
ba2d636bcd Updated Rector to commit bc544cf6f72f9296403ae906a3be83093ba08076
bc544cf6f7 [TypeDeclaration] Skip has child return different type on ReturnNeverTypeRector (#5343)
2023-12-09 14:31:59 +00:00
Tomas Votruba
5fbad6d865 Updated Rector to commit 6a63c6376124c9604097d85aa4cc77c190bdacd2
6a63c63761 [PHP 7.4] Skip typed properties in the set, as standalone set now available (#5342)
2023-12-08 16:11:44 +00:00
Tomas Votruba
b4235c46ba Updated Rector to commit f2a8542f3e7538a2c1aafdfd93a773e4065adcff
f2a8542f3e Typo fix (#5341)
2023-12-08 14:45:41 +00:00
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 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