Use ARC2 v3.0.0 from now on to get rid of deprecation messages (#38) #191
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: "Coding Styles" | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: Coding Styles | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: | |
- 8.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: xdebug | |
ini-values: memory_limit=1G | |
tools: cs2pr | |
- name: Validate Composer files | |
run: composer validate --no-check-all --strict | |
- name: Install Composer dependencies | |
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader | |
- name: Coding styles | |
run: php vendor/bin/php-cs-fixer fix --verbose --dry-run --format=checkstyle | cs2pr | |
- name: Static Analysis | |
run: vendor/bin/phpstan analyse |