Commit Graph

17504 Commits

Author SHA1 Message Date
Tomas Votruba
785ac22e33 Updated Rector to commit 89d2c9c4eb2bfddc226136899b1fdb0a99d19a8a
89d2c9c4eb [Php72] Remove usage on PrivatesAccessor on AnonymousFunctionFactory (#5367)
2023-12-17 06:37:00 +00:00
Tomas Votruba
aba5aec25d Updated Rector to commit aa52c4ecedb83773b12c4d3b2906ba36601057ba
aa52c4eced [Reflection] Remove usage on PrivatesAccessor on ClassReflectionAnalyzer (#5366)
2023-12-17 06:07:34 +00:00
Tomas Votruba
d525e926d3 Updated Rector to commit 1dcebfe29713124a43504c9a4bac322fa2f41f59
1dcebfe297 [automated] Apply Coding Standard (#5365)
2023-12-17 00:30:16 +00:00
Tomas Votruba
168d6a72a1 Updated Rector to commit 120e0ccfc40bc696d23a9e1d93b6662ea7dfa682
120e0ccfc4 Bump to php parser 4.18 (#5362)
2023-12-16 15:55:14 +00:00
Tomas Votruba
bd56d13367 Updated Rector to commit 39cce5ccb84ce4ac40eeae113db339a961db9489
39cce5ccb8 [ECS] Skip SelfAccessorFixer on *Rector.php to skip example code for using using self:: (#5363)
2023-12-16 15:42:57 +00:00
Tomas Votruba
7bf2453858 Updated Rector to commit 227e97477c44de40c165bba4b72e48dd954151d5
227e97477c [Transform] Do not create a new node if the existing node is already the correct one on AttributeKeyToClassConstFetchRector (#5328)
2023-12-16 02:55:33 +00:00
Tomas Votruba
90b260693b Updated Rector to commit 589bda6cd1eb7bc6cdc68313facc02cae41ba628
589bda6cd1 [Naming] Skip `$this` in RenameForeachValueVariableToMatchExprVariableRector (#5360)
2023-12-15 10:14:01 +00:00
Tomas Votruba
7c223ab41f Updated Rector to commit 5a1512b4c0939c1b8f9ab7a1c0eb40029acb1537
5a1512b4c0 [TypeDeclaration] Allow return static from under function on ReturnTypeFromStrictTypedCallRector (#5358)
2023-12-13 14:10:43 +00:00
Tomas Votruba
b571b1cd51 Updated Rector to commit 0817980433aaf92d2b71e4d9804ec1988afbf908
0817980433 [TypeDeclaration] Return new static from different object on ReturnTypeFromStrictTypedCallRector (#5357)
2023-12-13 13:01:03 +00:00
Tomas Votruba
e3e6cff9bd Updated Rector to commit fea5d6c0034746e050851887a7900bf94a22069d
fea5d6c003 [TypeDeclaration] Skip casted to (array) on StrictArrayParamDimFetchRector (#5356)
2023-12-12 15:47:12 +00:00
Tomas Votruba
39e43b6cca Updated Rector to commit dc9573d9bd60ec966db626be91c13cc6a5c4bbef
dc9573d9bd [Php55] Make StringClassNameToClassConstantRector configurable to keep first pre-backslash string configurable (#5354)
2023-12-11 13:06:54 +00:00
Tomas Votruba
d2dde21bd9 Updated Rector to commit 68c42e7e843bfb9fde2b6516bb1bb76648d67045
68c42e7e84 [DeadCode] Skip Remove @return/@param null functionality in case of sub type (#5350)
2023-12-10 16:34:14 +00:00
Tomas Votruba
fffe49e4aa Updated Rector to commit 287eab3a7040f8d42fa10701d5fbfc2998fdcc25
287eab3a70 [DeadCode] Add RemoveNullTagValueNodeRector (#5352)
2023-12-10 16:32:52 +00:00
Tomas Votruba
e216058787 Updated Rector to commit f8c3a2e313d5eee15c2aca53177ccf377042a65c
f8c3a2e313 Remove json throw on error rule from PHP 7.3 set, as changed behavior and must be applied on purpose (#5349)
2023-12-10 13:35:43 +00:00
Tomas Votruba
bb15f9c3c4 Updated Rector to commit e400e37e5fe1d329419874143c16d53242cf5b55
e400e37e5f [DeadCode] Remove null as never used param type in RemoveUselessParamTagRector (#5348)
2023-12-10 12:52:21 +00:00
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 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