Skip to content

check php syntax with error_reporting enabled #27

check php syntax with error_reporting enabled

check php syntax with error_reporting enabled #27

Workflow file for this run

name: PHP Composer
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '8.2', '8.3' ]
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer
- run: composer run check-syntax
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: vendor/bin/phpunit