Skip to content

Supported php versions #11

Supported php versions

Supported php versions #11

Workflow file for this run

name: Inspections
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4']
name: PHP ${{ matrix.php-versions }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Unit tests
run: ./vendor/bin/phpunit
- name: Static Analysis
run: ./vendor/bin/psalm
- name: Code style
run: ./vendor/bin/phpcs