Fix dynamic property deprecations / Upgrade php min versions #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP | |
on: [push] | |
jobs: | |
run: | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
php-versions: ["8.2", "8.3", "8.4"] | |
phpunit-versions: ["11.4"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring, intl | |
ini-values: post_max_size=256M, max_execution_time=180 | |
coverage: xdebug | |
tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | |
- name: Validate Composer | |
run: composer validate | |
- name: Install Composer Deps | |
run: composer install | |
- name: Run Tests | |
run: phpunit --testdox --coverage-text --coverage-clover=coverage.clover |