Skip to content

Clean up: Dockerfile (8.1 => 8.2); CS fixes; PHPStan complain in XMLP… #176

Clean up: Dockerfile (8.1 => 8.2); CS fixes; PHPStan complain in XMLP…

Clean up: Dockerfile (8.1 => 8.2); CS fixes; PHPStan complain in XMLP… #176

Workflow file for this run

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