1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-16 13:00:46 +01:00

Configure convertDeprecationsToExceptions="true" in phpunit.xml.dist (#2992)

This commit is contained in:
Tim Düsterhus 2022-03-13 16:53:15 +01:00 committed by GitHub
parent 74ca2cb463
commit d12ecb13c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,9 @@ jobs:
psr7: '^1.7@dev'
- php: '7.4'
psr7: '^2.0@dev'
exclude:
- php: '8.1'
psr7: '^1.7'
steps:
- name: Set up PHP

View File

@ -7,6 +7,7 @@
executionOrder="random"
failOnRisky="true"
failOnWarning="true"
convertDeprecationsToExceptions="true"
>
<testsuites>
<testsuite name="Test Suite">

View File

@ -2,6 +2,7 @@
namespace {
\setlocale(\LC_ALL, 'C');
\error_reporting(\E_ALL);
}
namespace GuzzleHttp\Test {