mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-16 14:48:32 +01:00
Make phpunit fail on deprecation warnings (#989)
(cherry picked from commit 4d36e9c16f4820c2ed9360bc818982f3c02a08f5)
This commit is contained in:
parent
b43758e9e9
commit
f2e037f8ea
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -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"
|
||||
|
@ -4,6 +4,7 @@
|
||||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
convertDeprecationsToExceptions="true"
|
||||
beStrictAboutTestsThatDoNotTestAnything="false"
|
||||
bootstrap="./test/bootstrap.php">
|
||||
<testsuites>
|
||||
|
Loading…
x
Reference in New Issue
Block a user