Skip to content

fix: fixed php-cs-fixer version and applied coding style (#87) #145

fix: fixed php-cs-fixer version and applied coding style (#87)

fix: fixed php-cs-fixer version and applied coding style (#87) #145

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
jobs:
linter:
name: Code style
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- run: composer install --prefer-dist --no-interaction
- run: bin/php-cs-fixer fix --ansi --dry-run --using-cache=no --verbose
tests:
name: Tests
runs-on: ubuntu-20.04
strategy:
matrix:
version: [ '7.4', '8.0', '8.1' ]
flags: [ '', '--prefer-lowest' ]
fail-fast: false
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.version }}
coverage: xdebug2
- run: composer update --prefer-dist --no-interaction ${{ matrix.flags }}
- run: bin/atoum