Skip to content

Commit b66e50a

Browse files
committed
drop support php 7.1, 7.2 and 7.3, drop support laravel 7, update php unit and testbench
1 parent 0c2bcd4 commit b66e50a

File tree

2 files changed

+25
-34
lines changed

2 files changed

+25
-34
lines changed

composer.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"V3"
1010
],
1111
"homepage": "https://github.com/deviddev/billingo-api-v3-wrapper",
12-
1312
"type": "library",
1413
"license": "MIT",
1514
"authors": [
@@ -19,13 +18,13 @@
1918
}
2019
],
2120
"require": {
22-
"php": "^7.1",
23-
"illuminate/support": "^6|^7|^8",
21+
"php": ">=7.4",
22+
"illuminate/support": "^6|^8",
2423
"deviddev/billingo-api-v3-php-sdk": "^0.2"
2524
},
2625
"require-dev": {
27-
"orchestra/testbench": "^4.0",
28-
"phpunit/phpunit": "^8.0"
26+
"orchestra/testbench": "^6.0",
27+
"phpunit/phpunit": "^9.0"
2928
},
3029
"autoload": {
3130
"psr-4": {

phpunit.xml.dist

+21-29
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
12-
<testsuites>
13-
<testsuite name="Test Suite">
14-
<directory>tests</directory>
15-
</testsuite>
16-
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<logging>
23-
<log type="tap" target="build/report.tap"/>
24-
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage"/>
26-
<log type="coverage-text" target="build/coverage.txt"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
29-
</phpunit>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
<report>
8+
<clover outputFile="build/logs/clover.xml"/>
9+
<html outputDirectory="build/coverage"/>
10+
<text outputFile="build/coverage.txt"/>
11+
</report>
12+
</coverage>
13+
<testsuites>
14+
<testsuite name="Test Suite">
15+
<directory>tests</directory>
16+
</testsuite>
17+
</testsuites>
18+
<logging>
19+
<junit outputFile="build/report.junit.xml"/>
20+
</logging>
21+
</phpunit>

0 commit comments

Comments
 (0)