Skip to content

Upgrade to PHP 8.4, PHPUnit 12, and remove git hooks dependency #7

Upgrade to PHP 8.4, PHPUnit 12, and remove git hooks dependency

Upgrade to PHP 8.4, PHPUnit 12, and remove git hooks dependency #7

Workflow file for this run

name: Tests
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.4]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip
coverage: none
tools: composer:v2
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Check code style
run: composer check-style
- name: Run tests
run: composer test
- name: Run psalm
run: composer psalm