Skip to content

Replace squizlabs/php_codesniffer by symplify/easy-coding-standard #39

Replace squizlabs/php_codesniffer by symplify/easy-coding-standard

Replace squizlabs/php_codesniffer by symplify/easy-coding-standard #39

Workflow file for this run

name: 'Quality'
on:
push:
branches: ['*']
jobs:
ecs:
name: 'Easy Coding Standard'
runs-on: 'ubuntu-latest'
strategy:
matrix:
php-version: ['8.1', '8.3']
steps:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '${{ matrix.php-version }}'
coverage: 'none'
- name: 'Checkout sources'
uses: 'actions/checkout@v3'
- name: 'Install dependencies'
run: 'composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist'
- name: 'Execute Easy Coding Standard'
run: 'vendor/bin/ecs'
phpstan:
name: 'PHPStan'
runs-on: 'ubuntu-latest'
strategy:
matrix:
php-version: ['8.1', '8.3']
steps:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '${{ matrix.php-version }}'
coverage: 'none'
- name: 'Checkout sources'
uses: 'actions/checkout@v3'
- name: 'Install dependencies'
run: 'composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist'
- name: 'Execute PHPStan'
run: 'vendor/bin/phpstan'