Skip to content

Commit c3e5276

Browse files
SimonFringsPaulRotmann
authored andcommitted
Test on PHP 8.4 and update test environment
2 parents 458d03a + 8fe0ae0 commit c3e5276

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ jobs:
1111
strategy:
1212
matrix:
1313
os:
14-
- ubuntu-22.04
14+
- ubuntu-24.04
1515
- windows-2022
1616
php:
17+
- 8.4
18+
- 8.3
1719
- 8.2
1820
- 8.1
1921
- 8.0
@@ -32,6 +34,8 @@ jobs:
3234
with:
3335
php-version: ${{ matrix.php }}
3436
coverage: xdebug
37+
ini-file: development
38+
ini-values: phar.readonly=off
3539
- run: composer install
3640
- run: vendor/bin/phpunit --coverage-text
3741
if: ${{ matrix.php >= 7.3 }}

phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@
1919
</coverage>
2020
<php>
2121
<ini name="error_reporting" value="-1" />
22+
<!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
23+
<!-- <ini name="zend.assertions=1" value="1" /> -->
24+
<ini name="assert.active" value="1" />
25+
<ini name="assert.exception" value="1" />
26+
<ini name="assert.bail" value="0" />
2227
</php>
2328
</phpunit>

phpunit.xml.legacy

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,12 @@
1515
<directory>./src/</directory>
1616
</whitelist>
1717
</filter>
18+
<php>
19+
<ini name="error_reporting" value="-1" />
20+
<!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
21+
<!-- <ini name="zend.assertions=1" value="1" /> -->
22+
<ini name="assert.active" value="1" />
23+
<ini name="assert.exception" value="1" />
24+
<ini name="assert.bail" value="0" />
25+
</php>
1826
</phpunit>

0 commit comments

Comments
 (0)