Skip to content

Commit 1951cfa

Browse files
committed
Support for PHP 8.3 and 8.4 only.
1 parent b98ee2a commit 1951cfa

File tree

3 files changed

+23
-29
lines changed

3 files changed

+23
-29
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
@@ -9,14 +9,12 @@
99
"fix"
1010
],
1111
"require": {
12-
"php": ">=8.1",
12+
"php": ">=8.3",
1313
"ext-mbstring": "*"
1414
},
15-
"minimum-stability": "dev",
16-
"prefer-stable": true,
1715
"require-dev": {
18-
"phing/phing": "^3.0.0-RC5",
19-
"phpunit/phpunit": "^10.1.3"
16+
"phing/phing": "^3.0.1",
17+
"phpunit/phpunit": "^11.5.22"
2018
},
2119
"autoload": {
2220
"psr-4": {

phpunit.xml

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="test/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" cacheDirectory=".phpunit.cache">
3-
<coverage>
4-
<report>
5-
<clover outputFile="test/coverage.xml"/>
6-
<html outputDirectory="test/report"/>
7-
</report>
8-
</coverage>
9-
<testsuites>
10-
<testsuite name="Tests">
11-
<directory>test</directory>
12-
</testsuite>
13-
</testsuites>
14-
<logging/>
15-
<source>
16-
<include>
17-
<directory suffix=".php">src</directory>
18-
</include>
19-
<exclude>
20-
<directory suffix=".php">vendor/setbased</directory>
21-
</exclude>
22-
</source>
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">
9+
<testsuites>
10+
<testsuite name="default">
11+
<directory>test</directory>
12+
</testsuite>
13+
</testsuites>
14+
15+
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
16+
<include>
17+
<directory>src</directory>
18+
</include>
19+
</source>
2320
</phpunit>

0 commit comments

Comments
 (0)