Skip to content

chore(cs): resolve formatting issues #115

chore(cs): resolve formatting issues

chore(cs): resolve formatting issues #115

Workflow file for this run

name: Continuous Integration
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- "8.1"
- "8.2"
steps:
- uses: actions/checkout@v2
- uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
extensions: yaml
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction
# PHPStan
- name: Run PHPStan
run: ./vendor/bin/phpstan analyze
# PHPUnit
- name: Run PHPUnit
run: ./vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration tests/phpunit.xml
# Code style checks
- name: Analyze code style
run: ./vendor/bin/php-cs-fixer fix --dry-run --diff --ansi