Skip to content

Commit

Permalink
Make phpunit fail on deprecation warnings (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Mar 17, 2024
1 parent 4e1b88d commit 4d36e9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -49,6 +49,7 @@ jobs:
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
ini-file: "development"
tools: composer:v2
- name: "Install dependencies"
run: "composer update --no-progress --prefer-dist ${{ matrix.flags }}"
Expand All @@ -65,6 +66,7 @@ jobs:
with:
coverage: "none"
php-version: "8.0"
ini-file: "development"
tools: composer:v2
- name: "Install PHP 8 dependencies"
run: "composer update --no-progress --prefer-dist"
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
Expand Up @@ -4,6 +4,7 @@
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
convertDeprecationsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./test/bootstrap.php">
<testsuites>
Expand Down

0 comments on commit 4d36e9c

Please sign in to comment.