Skip to content

Commit

Permalink
chore: fix PHP 8.4 deprecations (#7894)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Mar 18, 2024
1 parent 3b3bfe9 commit 951d3c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -177,6 +177,12 @@ jobs:
if: matrix.operating-system == 'windows-latest'
run: (Get-Content phpunit.xml.dist) -replace 'enforceTimeLimit="true"', 'enforceTimeLimit="false"' | Out-File phpunit.xml

- name: Fix PHP 8.4 deprecations for tests
if: matrix.run-tests == 'yes' && matrix.php-version == '8.4'
env:
PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.PHP_CS_FIXER_IGNORE_ENV }}
run: php php-cs-fixer fix --rules=no_unreachable_default_argument_value,nullable_type_declaration_for_default_null_value --diff vendor

- name: Run tests
if: matrix.run-tests == 'yes' && matrix.collect-code-coverage != 'yes'
env:
Expand Down

0 comments on commit 951d3c2

Please sign in to comment.