Skip to content

Initial commit

Initial commit #10

Workflow file for this run

name: Code Quality
on: [push, pull_request]
jobs:
phpcs:
name: PHP ${{ matrix.php }} - PHP_CodeSniffer
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3']
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install PHP and Extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- name: Install Composer Dependencies
uses: ramsey/composer-install@v2
- name: Run PHP_CodeSniffer
run: vendor/bin/phpcs --no-cache
phpstan:
name: PHP ${{ matrix.php }} - PHPStan
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3']
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install PHP and Extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- name: Install Composer Dependencies
uses: ramsey/composer-install@v2
- name: Run PHPStan
run: vendor/bin/phpstan --no-progress --no-ansi
rector:
name: PHP ${{ matrix.php }} - Rector
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3']
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install PHP and Extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- name: Install Composer Dependencies
uses: ramsey/composer-install@v2
- name: Run Rector
run: vendor/bin/rector process --dry-run --no-progress-bar
phpunit:
name: PHP ${{ matrix.php }} - PHPUnit
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3']
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install PHP and Extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
tools: composer:v2
- name: Install Composer Dependencies
uses: ramsey/composer-install@v2
- name: Run PHPUnit
run: vendor/bin/phpunit --no-progress --coverage-text