Skip to content

Commit

Permalink
Make phpunit fail on deprecation warnings (#989)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4d36e9c)
  • Loading branch information
staabm authored and nikic committed Mar 17, 2024
1 parent b43758e commit f2e037f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -46,6 +46,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 @@ -62,6 +63,7 @@ jobs:
with:
coverage: "none"
php-version: "8.2"
ini-file: "development"
tools: composer:v2
- name: "Install PHP 8 dependencies"
run: "composer update --no-progress --prefer-dist"
Expand All @@ -78,6 +80,7 @@ jobs:
with:
coverage: "none"
php-version: "7.4"
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 f2e037f

Please sign in to comment.