Skip to content

Merge pull request #13 from iMi-digital/8-business-events #27

Merge pull request #13 from iMi-digital/8-business-events

Merge pull request #13 from iMi-digital/8-business-events #27

Workflow file for this run

name: PHP
on:
push:
pull_request:
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install dependencies
run: composer install
- name: Run PHPStan
run: vendor/bin/phpstan
cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install dependencies
run: composer install
- name: Run PHP CS Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff