Skip to content

Commit d12ecb1

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

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy