Skip to content

Commit c4474c1

Browse files
committed
Support for PHP 8.3 and 8.4 only.
1 parent 47654be commit c4474c1

File tree

3 files changed

+19
-21
lines changed

3 files changed

+19
-21
lines changed

.github/workflows/unit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
php-version:
19-
- "8.1"
20-
- "8.2"
2119
- "8.3"
20+
- "8.4"
2221

2322
steps:
2423
- name: "Checkout"

composer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@
77
],
88
"license": "MIT",
99
"require": {
10-
"php": ">=8.1"
10+
"php": ">=8.3"
1111
},
12-
"minimum-stability": "dev",
13-
"prefer-stable": true,
1412
"require-dev": {
15-
"phing/phing": "^3.0.0-RC4",
16-
"phpunit/phpunit": "^9.5.28"
13+
"phing/phing": "^3.0.1",
14+
"phpunit/phpunit": "^11.5.22"
1715
},
1816
"autoload": {
1917
"psr-4": {

phpunit.xml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
<phpunit bootstrap="test/bootstrap.php">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
displayDetailsOnTestsThatTriggerDeprecations="true"
5+
displayDetailsOnTestsThatTriggerErrors="true"
6+
displayDetailsOnTestsThatTriggerNotices="true"
7+
displayDetailsOnTestsThatTriggerWarnings="true"
8+
displayDetailsOnPhpunitDeprecations="true">
29
<testsuites>
3-
<testsuite name="Tests">
10+
<testsuite name="default">
411
<directory>test</directory>
512
</testsuite>
613
</testsuites>
7-
<filter>
8-
<whitelist processUncoveredFilesFromWhitelist="true">
9-
<directory suffix=".php">src</directory>
10-
<exclude>
11-
<directory suffix=".php">vendor/setbased</directory>
12-
</exclude>
13-
</whitelist>
14-
</filter>
15-
<logging>
16-
<log type="coverage-html" target="test/report"/>
17-
<log type="coverage-clover" target="test/coverage.xml"/>
18-
</logging>
14+
15+
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
16+
<include>
17+
<directory>src</directory>
18+
</include>
19+
</source>
1920
</phpunit>

0 commit comments

Comments
 (0)