Skip to content

Commit 7ae89f3

Browse files
committed
Update GitHub Actions, use older PHPUnit for full coverage back to 7.4.
1 parent b9da508 commit 7ae89f3

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
strategy:
1515
matrix:
1616
php:
17-
- 7.2
18-
- 7.3
1917
- 7.4
2018
- 8.0
2119
- 8.1
20+
- 8.2
21+
- 8.3
2222
fail-fast: false
2323

2424
steps:
@@ -41,4 +41,4 @@ jobs:
4141
run: composer install --prefer-dist --no-progress --no-suggest
4242

4343
- name: Tests
44-
run: composer test
44+
run: composer test

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"gettext/gettext": "^5.5.0"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^11",
26+
"phpunit/phpunit": "^9",
2727
"squizlabs/php_codesniffer": "^3.0",
2828
"oscarotero/php-cs-fixer-config": "^2",
2929
"friendsofphp/php-cs-fixer": "^3"

phpunit.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" cacheDirectory=".phpunit.cache">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage processUncoveredFiles="true">
4+
<include>
5+
<directory suffix=".php">src</directory>
6+
</include>
7+
</coverage>
38
<testsuites>
49
<testsuite name="All tests">
510
<directory>./tests/</directory>
611
</testsuite>
712
</testsuites>
8-
<source>
9-
<include>
10-
<directory suffix=".php">src</directory>
11-
</include>
12-
</source>
1313
</phpunit>

0 commit comments

Comments
 (0)