Skip to content

Commit

Permalink
Tweak rules for current state
Browse files Browse the repository at this point in the history
  • Loading branch information
spekulatius committed Aug 29, 2023
1 parent fc204e8 commit f4f7d84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: composer test:types

## RECTOR
phpstan:
rector:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
5 changes: 2 additions & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
]);

$rectorConfig->sets([
LevelSetList::UP_TO_PHP_82,
SetList::CODE_QUALITY,
// LevelSetList::UP_TO_PHP_82,
// SetList::CODE_QUALITY,
SetList::DEAD_CODE,
SetList::EARLY_RETURN,
SetList::TYPE_DECLARATION,
]);
};

0 comments on commit f4f7d84

Please sign in to comment.