Skip to content

Commit 65018f0

Browse files
committed
Drop PHP 7.4 and PHP 8.0 and PHP 8.1
1 parent 09768b5 commit 65018f0

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
php-version: ["7.4", "8.0", "8.1", "8.2", "8.3"]
27+
php-version: ["8.2", "8.3"]
2828
os: [ubuntu-latest]
2929
experimental: [false]
3030
include:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
}
4444
},
4545
"require": {
46-
"php": "^7.4 || ^8.0"
46+
"php": "^8.2"
4747
},
4848
"require-dev": {
49-
"phpunit/phpunit": "^9 || ^10 || ^11",
49+
"phpunit/phpunit": "^11",
5050
"phpstan/phpstan": "^1.4",
5151
"wdes/coding-standard": "^3.2"
5252
},

phpunit.xml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
1-
<phpunit
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.0/phpunit.xsd"
4-
colors="true"
5-
backupGlobals="false"
6-
bootstrap="vendor/autoload.php"
7-
>
8-
9-
<filter>
10-
<whitelist>
11-
<directory>src</directory>
12-
</whitelist>
13-
</filter>
14-
15-
<logging>
16-
<log type="coverage-html" target="build/coverage/html/"/>
17-
<log type="coverage-clover" target="build/logs/clover.xml"/>
18-
</logging>
19-
1+
<?xml version="1.0"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd"
4+
colors="true"
5+
backupGlobals="false"
6+
bootstrap="vendor/autoload.php"
7+
cacheDirectory=".phpunit.result.cache">
8+
<coverage>
9+
<report>
10+
<clover outputFile="build/logs/clover.xml"/>
11+
<html outputDirectory="build/coverage/html/"/>
12+
</report>
13+
</coverage>
14+
<logging/>
2015
<testsuites>
2116
<testsuite name="Unit tests">
22-
<directory suffix=".php">tests/unit/</directory>
17+
<directory suffix=".php">tests/unit/</directory>
2318
</testsuite>
2419
</testsuites>
25-
20+
<source>
21+
<include>
22+
<directory>src</directory>
23+
</include>
24+
</source>
2625
</phpunit>

0 commit comments

Comments
 (0)