Catch deprecations as part of test suite

This commit is contained in:
Matthew Peveler
2021-12-01 10:12:42 -05:00
parent 8a5cb24967
commit 8a220fe37b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ jobs:
php-version: ${{ matrix.php-version }} php-version: ${{ matrix.php-version }}
tools: composer tools: composer
coverage: xdebug coverage: xdebug
ini-values: error_reporting=E_ALL
- uses: ramsey/composer-install@v1 - uses: ramsey/composer-install@v1
+1
View File
@@ -2,6 +2,7 @@
<phpunit backupGlobals="false" <phpunit backupGlobals="false"
backupStaticAttributes="false" backupStaticAttributes="false"
colors="true" colors="true"
convertDeprecationsToExceptions="true"
convertErrorsToExceptions="true" convertErrorsToExceptions="true"
convertNoticesToExceptions="true" convertNoticesToExceptions="true"
convertWarningsToExceptions="true" convertWarningsToExceptions="true"