Skip to content

Commit d12ecb1

Browse files
authored
Configure convertDeprecationsToExceptions="true" in phpunit.xml.dist (#2992)
1 parent 74ca2cb commit d12ecb1

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
psr7: '^1.7@dev'
5050
- php: '7.4'
5151
psr7: '^2.0@dev'
52+
exclude:
53+
- php: '8.1'
54+
psr7: '^1.7'
5255

5356
steps:
5457
- name: Set up PHP

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
executionOrder="random"
88
failOnRisky="true"
99
failOnWarning="true"
10+
convertDeprecationsToExceptions="true"
1011
>
1112
<testsuites>
1213
<testsuite name="Test Suite">

tests/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace {
44
\setlocale(\LC_ALL, 'C');
5+
\error_reporting(\E_ALL);
56
}
67

78
namespace GuzzleHttp\Test {

0 commit comments

Comments
 (0)