Make phpunit fail on deprecation warnings (#989)

(cherry picked from commit 4d36e9c16f4820c2ed9360bc818982f3c02a08f5)
This commit is contained in:
Markus Staab 2024-03-17 10:03:35 +01:00 committed by Nikita Popov
parent b43758e9e9
commit f2e037f8ea
2 changed files with 4 additions and 0 deletions

View File

@ -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 }}"
@ -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"
@ -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"

View File

@ -4,6 +4,7 @@
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
convertDeprecationsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./test/bootstrap.php">
<testsuites>