Skip to content

Commit af7522b

Browse files
authored
Merge pull request microformats#265 from jrfnl/feature/tests-fail-on-deprecation-notices
Tests: fail on deprecation notices
2 parents 80d563e + 2513013 commit af7522b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
uses: shivammathur/setup-php@v2
5353
with:
5454
php-version: '${{ matrix.php }}'
55-
tools: composer
56-
extensions: 'xdebug'
55+
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On, log_errors_max_len=0
56+
coverage: 'xdebug'
5757
- uses: actions/checkout@v4
5858

5959
- name: Install Composer dependencies & cache dependencies

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit bootstrap="tests/Mf2/bootstrap.php">
2+
<phpunit bootstrap="tests/Mf2/bootstrap.php" convertDeprecationsToExceptions="true">
33
<testsuites>
44
<testsuite name="php-mf2">
55
<directory suffix="Test.php">tests/Mf2</directory>

0 commit comments

Comments
 (0)