Skip to content

chore: add rector to CI #29

chore: add rector to CI

chore: add rector to CI #29

Workflow file for this run

name: CI
on: [push]
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
args: --ignore-platform-reqs
- name: PHPStan Static Analysis
run: vendor/bin/phpstan analyse -c .github/phpstan.neon
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
args: --ignore-platform-reqs
- name: PHP CS Fixer Static Analysis
run: vendor/bin/php-cs-fixer fix --config=./.github/.php-cs-fixer.dist.php
rector:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
args: --ignore-platform-reqs
- name: Rector
run: vendor/bin/rector process --config=./.github/rector.php