1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-03-02 06:32:28 +01:00

17438 Commits

Author SHA1 Message Date
Tomas Votruba
5a2b12fcd4 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() ()
2023-12-26 20:37:41 +00:00
Tomas Votruba
5892f5adb9 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() ()
2023-12-26 18:33:36 +00:00
Tomas Votruba
ff860915a2 Updated Rector to commit 9cebe922f18a2fd07311eab528dd59a33ff17ba4
9cebe922f1 [DX] Add RectorConfig::autotagInterfaces() for automated tagging of instances ()
2023-12-26 18:10:37 +00:00
Tomas Votruba
95ed962a15 Updated Rector to commit 6646d23fe0cea4b4a871ca1931e33f0cb2a574c7
6646d23fe0 [CodingStyle] Add RemoveUselessAliasInUseStatementRector ()
2023-12-26 17:40:03 +00:00
Tomas Votruba
801e9accb8 Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-26 14:45:38 +00:00
Tomas Votruba
a8c5484976 Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-26 12:13:04 +00:00
Tomas Votruba
24ab7232bb Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-25 17:21:11 +00:00
Tomas Votruba
a7607e481d Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-25 03:17:16 +00:00
Tomas Votruba
dc7f07a258 Updated Rector to commit 70eace01e543d91beabacd6fbc062b871090a6ac
70eace01e5 [Polyfill] Add test polyfill not configured on php 7.4 env ()
2023-12-25 03:08:53 +00:00
Tomas Votruba
d29c258132 Updated Rector to commit 69983e907a570f9b4f708be81e8cf1eae8a7f1d0
69983e907a [Php] Fix filter cache on PolyfillPackagesProvider ()
2023-12-25 03:00:38 +00:00
Tomas Votruba
3f2b3edab8 Updated Rector to commit 6ebab94b971a930457c8e217dcb699c671ad617b
6ebab94b97 Add related polyfill interface to other PHP 8.0/7.3 rules ()
2023-12-25 00:55:45 +00:00
Tomas Votruba
8775d2e083 Updated Rector to commit ebb2d2df55887c25f74af39b400194039dff78d4
ebb2d2df55 [DX] Add "Related polyfill" feature to upgrade based on used symfony/polyfill-* packages ()
2023-12-24 12:52:27 +00:00
Tomas Votruba
e153ed98e6 Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
c6ca4f1f5c [Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer ()
2023-12-24 08:15:26 +00:00
Tomas Votruba
462b60a70a Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
c6ca4f1f5c [Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer ()
2023-12-24 03:11:42 +00:00
Tomas Votruba
06a8e6394a Updated Rector to commit 012e8bb2ed77516c792e3fb9c777066c3776abcc
012e8bb2ed Skip non-final class method with no content in AddVoidReturnTypeWhereNoReturnRector ()
2023-12-24 01:21:59 +00:00
Tomas Votruba
f9f96d6bb9 Updated Rector to commit 00b442f2d79f1536e9dc59c2fa7ff541a0cba1e8
00b442f2d7 Fix variable to property fetch update in ClassPropertyAssignToConstructorPromotionRector ()
2023-12-24 00:51:27 +00:00
Tomas Votruba
3d9b6b2c99 Updated Rector to commit 620321b3833dd450a7de79a620a07c7131342422
620321b383 Add ReturnTypeFromStrictBoolReturnExprRector support for if/else returns ()
2023-12-23 21:26:40 +00:00
Tomas Votruba
f77e8b8450 Updated Rector to commit 16f8d19db32108740794a68a011c78328bb69aed
16f8d19db3 Fix StrictArrayParamDimFetchRector for string access ()
2023-12-23 20:44:18 +00:00
Tomas Votruba
80dad1d8c8 Updated Rector to commit a644d0d4a2f1e457f77cf8e384fd32b78b5ff388
a644d0d4a2 [Arguments] Allow no default value on ArgumentAdderRector ()
2023-12-23 19:44:26 +00:00
Tomas Votruba
a4aba10ad7 Updated Rector to commit 3cef752763be750ea221c5c5eb1681d27398a3d5
3cef752763 Skip classes without final and exception as possibly invoke child implement in AddVoidReturnTypeWhereNoReturnRector ()
2023-12-23 15:28:34 +00:00
Tomas Votruba
78b306c557 Updated Rector to commit 5259090faea9e744c79da1115ad299d31b649bb1
5259090fae wording
2023-12-23 15:04:06 +00:00
Tomas Votruba
f65671090e Updated Rector to commit ae97b716490cd94d2d7ba5783ab5f5f7e19ad535
ae97b71649 tidy up ()
2023-12-23 14:54:24 +00:00
Tomas Votruba
94baa5fede Updated Rector to commit 8df2120b3f546dd7f0eb89bf199a042dfc9283e7
8df2120b3f Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children ()
2023-12-23 14:51:47 +00:00
Tomas Votruba
0ee99bfbc9 Updated Rector to commit 53ba155ab03ce7717ecef42b311880b314a40fbc
53ba155ab0 [NodeAnalyzer] Use existing VariadicFunctionLikeDetector on VariadicAnalyzer ()
2023-12-23 11:33:51 +00:00
Tomas Votruba
daa774618b Updated Rector to commit 941735ce81d698e7b4c32d71b43595033236226f
941735ce81 [Performance][AstResolver] Avoid parse file on NativeFunctionReflection on AstResolver::resolveFunctionFromFunctionReflection() ()
2023-12-23 10:46:06 +00:00
Tomas Votruba
1ce9a4da5a Updated Rector to commit c2c6558cde8138d5509b306bd499e013ac5da2e9
c2c6558cde [TypeDeclaration] Allow add void return type on magic __invoke() method on AddVoidReturnTypeWhereNoReturnRector ()
2023-12-22 17:39:40 +00:00
Tomas Votruba
4e82e891c9 Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
7ca4de097e [DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector ()
2023-12-22 07:54:11 +00:00
Tomas Votruba
949ab12adb Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
7ca4de097e [DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector ()
2023-12-21 15:22:15 +00:00
Tomas Votruba
f8011a76d3 Rector 0.18.13 0.18.13 2023-12-20 16:08:01 +00:00
Tomas Votruba
40ac5bade5 Updated Rector to commit 4283beff2f78d5820f27384826d5d1b75d3ff62a
4283beff2f [CodeQuality] Skip method call on else on TernaryFalseExpressionToIfRector ()
2023-12-18 12:32:23 +00:00
Tomas Votruba
10fd8e5374 Updated Rector to commit 02a30d483fe28abc9315a7e6bf809614750c95ab
02a30d483f [Php55] Handle crash after exit() on GetCalledClassToSelfClassRector ()
2023-12-18 05:38:03 +00:00
Tomas Votruba
5f40a31427 Updated Rector to commit affdec96db31156ab2b05a5801f980e284e291a5
affdec96db [Testing] Remove unnecessary set Parameter Source on TestingParser ()
2023-12-17 15:33:43 +00:00
Tomas Votruba
335a3861f8 Updated Rector to commit 63201f76725831988f1484476f6f84e0976a5742
63201f7672 [CodeQuality] Skip Superglobals variable on SimplifyEmptyCheckOnEmptyArrayRector ()
2023-12-17 09:24:20 +00:00
Tomas Votruba
291e258902 Updated Rector to commit 54491a53f081fd8785269513b1650a524a9077f1
54491a53f0 [BetterphpDocparser] Remove new PrivatesAccessor() on promotion property on BetterPhpDocParser ()
2023-12-17 07:29:57 +00:00
Tomas Votruba
785ac22e33 Updated Rector to commit 89d2c9c4eb2bfddc226136899b1fdb0a99d19a8a
89d2c9c4eb [Php72] Remove usage on PrivatesAccessor on AnonymousFunctionFactory ()
2023-12-17 06:37:00 +00:00
Tomas Votruba
aba5aec25d Updated Rector to commit aa52c4ecedb83773b12c4d3b2906ba36601057ba
aa52c4eced [Reflection] Remove usage on PrivatesAccessor on ClassReflectionAnalyzer ()
2023-12-17 06:07:34 +00:00
Tomas Votruba
d525e926d3 Updated Rector to commit 1dcebfe29713124a43504c9a4bac322fa2f41f59
1dcebfe297 [automated] Apply Coding Standard ()
2023-12-17 00:30:16 +00:00
Tomas Votruba
168d6a72a1 Updated Rector to commit 120e0ccfc40bc696d23a9e1d93b6662ea7dfa682
120e0ccfc4 Bump to php parser 4.18 ()
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:: ()
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 ()
2023-12-16 02:55:33 +00:00
Tomas Votruba
90b260693b Updated Rector to commit 589bda6cd1eb7bc6cdc68313facc02cae41ba628
589bda6cd1 [Naming] Skip `$this` in RenameForeachValueVariableToMatchExprVariableRector ()
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 ()
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 ()
2023-12-13 13:01:03 +00:00
Tomas Votruba
e3e6cff9bd Updated Rector to commit fea5d6c0034746e050851887a7900bf94a22069d
fea5d6c003 [TypeDeclaration] Skip casted to (array) on StrictArrayParamDimFetchRector ()
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 ()
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 ()
2023-12-10 16:34:14 +00:00
Tomas Votruba
fffe49e4aa Updated Rector to commit 287eab3a7040f8d42fa10701d5fbfc2998fdcc25
287eab3a70 [DeadCode] Add RemoveNullTagValueNodeRector ()
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 ()
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 ()
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" ()
2023-12-10 02:05:30 +00:00