Fix Code Style #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality assurance | |
on: | |
push: | |
pull_request: | |
jobs: | |
php-cs-fixer: | |
name: PHP CS Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
coverage: none | |
tools: composer:v2, cs2pr | |
- name: Install Composer dependencies (highest) | |
uses: 'ramsey/composer-install@v1' | |
with: | |
dependency-versions: 'highest' | |
- name: Run PHP-CS-Fixer | |
run: ./vender/bin/php-cs-fixer fix --dry-run --format checkstyle | cs2pr |