Skip to content

Commit 3a66916

Browse files
authored
Merge pull request #915 from jrfnl/feature/ghactions-turn-on-error-reporting
2 parents 535de5b + dc490fe commit 3a66916

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
php-version: "7.4"
2424
coverage: "none"
25-
ini-values: "memory_limit=-1"
25+
ini-values: "memory_limit=-1, zend.assertions=1, error_reporting=-1, display_errors=On"
2626
tools: "composer:v2"
2727
- uses: "ramsey/composer-install@v1"
2828
- name: "Lint the PHP source code"
@@ -70,7 +70,7 @@ jobs:
7070
with:
7171
php-version: "${{ matrix.php-version }}"
7272
coverage: "pcov"
73-
ini-values: "memory_limit=-1"
73+
ini-values: "memory_limit=-1, zend.assertions=1, error_reporting=-1, display_errors=On"
7474
tools: "composer:v2"
7575
- name: "Prepare for tests"
7676
run: "mkdir -p build/logs"

phpunit.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit colors="true" bootstrap="./vendor/autoload.php">
2+
<phpunit
3+
bootstrap="./vendor/autoload.php"
4+
colors="true"
5+
convertErrorsToExceptions="true"
6+
convertWarningsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertDeprecationsToExceptions="true"
9+
>
310
<testsuites>
411
<testsuite name="all">
512
<directory>./test</directory>

0 commit comments

Comments
 (0)