Skip to content

Commit d7d063b

Browse files
committed
fix(style): Add phpdoc_param_order rule and update namespace references in rector.php.
1 parent 9151b2c commit d7d063b

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.styleci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ enabled:
5555
- phpdoc_no_empty_return
5656
- phpdoc_no_useless_inheritdoc
5757
- phpdoc_order
58+
- phpdoc_param_order
5859
- phpdoc_property
5960
- phpdoc_scalar
6061
- phpdoc_singular_inheritdoc

rector.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
return static function (Rector\Config\RectorConfig $rectorConfig): void {
5+
return static function (\Rector\Config\RectorConfig $rectorConfig): void {
66
$rectorConfig->parallel();
77

88
$rectorConfig->importNames();
@@ -16,21 +16,21 @@
1616

1717
$rectorConfig->sets(
1818
[
19-
Rector\Set\ValueObject\SetList::PHP_81,
20-
Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_81,
21-
Rector\Set\ValueObject\SetList::TYPE_DECLARATION,
19+
\Rector\Set\ValueObject\SetList::PHP_81,
20+
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_81,
21+
\Rector\Set\ValueObject\SetList::TYPE_DECLARATION,
2222
],
2323
);
2424

2525
$rectorConfig->skip(
2626
[
27-
Rector\TypeDeclaration\Rector\Class_\TypedPropertyFromCreateMockAssignRector::class,
27+
\Rector\TypeDeclaration\Rector\Class_\TypedPropertyFromCreateMockAssignRector::class,
2828
],
2929
);
3030

3131
$rectorConfig->rules(
3232
[
33-
Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector::class,
33+
\Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector::class,
3434
],
3535
);
3636
};

0 commit comments

Comments
 (0)