Skip to content

Commit

Permalink
Add Rector to CI
Browse files Browse the repository at this point in the history
This allows us to fail if Rector changes any code.

Also, this will fail Rector upgrades that need changes to the
configuration files (which is relevant for the Dependabot PRs).
  • Loading branch information
oliverklee committed Mar 22, 2024
1 parent 12c3885 commit f7b8972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ jobs:

- name: Unit Tests
run: composer run-script ci:tests

- name: Rector
run: vendor/bin/rector --dry-run --no-progress-bar

0 comments on commit f7b8972

Please sign in to comment.