Skip to content

PHP82-35: Fix warnings on service #25

PHP82-35: Fix warnings on service

PHP82-35: Fix warnings on service #25

Workflow file for this run

name: PR Tests
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.0', '8.2']
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Validate composer.json
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: PSR-12 compliance check
run: composer run-script cs-check
- name: Check for PHPStan errors
run: composer run-script phpstan
- name: Run test suite
run: composer run-script test