Skip to content

Commit

Permalink
Merge pull request #57 from Hi-Folks/feat/54-rector-conf
Browse files Browse the repository at this point in the history
Update Rector configuration UP_TO_PHP_81
  • Loading branch information
roberto-butti authored Oct 28, 2023
2 parents e63b715 + 6145502 commit fecf340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
$rectorConfig->paths([
__DIR__ . '/examples',
__DIR__ . '/src',
__DIR__ . '/tests',
// __DIR__ . '/tests',
]);

// register a single rule
$rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class);

// define sets of rules
$rectorConfig->sets([
LevelSetList::UP_TO_PHP_80,
LevelSetList::UP_TO_PHP_81,
SetList::DEAD_CODE,
SetList::CODE_QUALITY,
SetList::EARLY_RETURN,
Expand Down

0 comments on commit fecf340

Please sign in to comment.