Skip to content

Commit 41b9b52

Browse files
committed
bump phpunit to ^9.0 and php to ^7.3
since 7.2 is EOL anyways
1 parent f37eb40 commit 41b9b52

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

.github/workflows/phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
discovery.type: single-node
1717
strategy:
1818
matrix:
19-
php: ['7.2', '7.3', '7.4']
19+
php: ['7.3', '7.4']
2020
steps:
2121
- uses: actions/checkout@v2
2222

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.2",
14+
"php": "^7.3",
1515
"symfony/serializer": "^5.0",
1616
"elasticsearch/elasticsearch": "^7.0"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^8.0",
19+
"phpunit/phpunit": "^9.0",
2020
"squizlabs/php_codesniffer": "^3.0"
2121
},
2222
"autoload": {

phpunit.xml.dist

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
35
backupGlobals="false"
46
backupStaticAttributes="false"
57
colors="true"
@@ -8,7 +10,6 @@
810
convertWarningsToExceptions="true"
911
processIsolation="false"
1012
stopOnFailure="false"
11-
syntaxCheck="false"
1213
bootstrap="vendor/autoload.php">
1314

1415
<testsuites>
@@ -23,16 +24,16 @@
2324
</testsuite>
2425
</testsuites>
2526

26-
<filter>
27-
<whitelist>
27+
<coverage>
28+
<include>
2829
<directory>./</directory>
29-
<exclude>
30-
<directory>./tests</directory>
31-
<directory>./vendor</directory>
32-
</exclude>
33-
</whitelist>
34-
</filter>
35-
<logging>
36-
<log type="coverage-text" target="php://stdout" showOnlySummary="true"/>
37-
</logging>
30+
</include>
31+
<exclude>
32+
<directory>./tests</directory>
33+
<directory>./vendor</directory>
34+
</exclude>
35+
<report>
36+
<text outputFile="php://stdout" showOnlySummary="true"/>
37+
</report>
38+
</coverage>
3839
</phpunit>

0 commit comments

Comments
 (0)