Skip to content

bump required PHP version to 7.4 or higher #5

bump required PHP version to 7.4 or higher

bump required PHP version to 7.4 or higher #5

name: Check PHP syntax
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', 'highest']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer
- name: checkout repo
uses: actions/checkout@v3
- run: composer run check-syntax