Skip to content

Commit

Permalink
Configure convertDeprecationsToExceptions="true" in phpunit.xml.dist (
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla committed Mar 13, 2022
1 parent 74ca2cb commit d12ecb1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
Expand Up @@ -7,6 +7,7 @@
executionOrder="random"
failOnRisky="true"
failOnWarning="true"
convertDeprecationsToExceptions="true"
>
<testsuites>
<testsuite name="Test Suite">
Expand Down
1 change: 1 addition & 0 deletions tests/bootstrap.php
Expand Up @@ -2,6 +2,7 @@

namespace {
\setlocale(\LC_ALL, 'C');
\error_reporting(\E_ALL);
}

namespace GuzzleHttp\Test {
Expand Down

0 comments on commit d12ecb1

Please sign in to comment.