Skip to content

Commit ee19cd7

Browse files
authored
[TASK] Use the development PHP INI on CI (#532)
This allows us to see (and fail on) PHP warnings and notices. Fixes #528
1 parent 963e8d7 commit ee19cd7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: shivammathur/setup-php@v2
2727
with:
2828
php-version: ${{ matrix.php-version }}
29+
ini-file: development
2930
coverage: none
3031

3132
- name: PHP Lint
@@ -51,7 +52,7 @@ jobs:
5152
uses: shivammathur/setup-php@v2
5253
with:
5354
php-version: ${{ matrix.php-version }}
54-
ini-values: error_reporting=E_ALL
55+
ini-file: development
5556
tools: composer:v2
5657
coverage: none
5758

@@ -98,6 +99,7 @@ jobs:
9899
uses: shivammathur/setup-php@v2
99100
with:
100101
php-version: ${{ matrix.php-version }}
102+
ini-file: development
101103
tools: "composer:v2, phive"
102104
coverage: none
103105

.github/workflows/codecoverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: shivammathur/setup-php@v2
2727
with:
2828
php-version: ${{ matrix.php-version }}
29-
ini-values: error_reporting=E_ALL
29+
ini-file: development
3030
tools: composer:v2
3131
coverage: xdebug
3232

0 commit comments

Comments
 (0)