Skip to content

Commit 62e9338

Browse files
authored
update php version and other dependencies (#333)
* update php version and other dependencies * add .phpunit.result.cache to .gitignore * remove .phpunit.result.cache * add .phpunit.result.cache to .ignore
1 parent 4e46632 commit 62e9338

File tree

4 files changed

+27
-30
lines changed

4 files changed

+27
-30
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ vendor/
5757

5858
# Composer.lock file
5959
composer.lock
60+
61+
.phpunit.result.cache

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
language: php
22
php:
3-
- '7.2'
4-
- '7.3'
3+
- '8.0'
4+
- '8.1'
5+
- '8.2'
6+
- '8.3'
7+
- '8.4'
58
before_script: composer install

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@
8484
}
8585
],
8686
"require": {
87-
"php": ">=8.0",
88-
"illuminate/broadcasting": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
89-
"illuminate/support": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
90-
"shetabit/multipay": "^1.0|^2.0"
87+
"php": "^8.0",
88+
"illuminate/broadcasting": "^8.0|^9.0|^10.0|^11.0",
89+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
90+
"shetabit/multipay": "^2.0"
9191
},
9292
"suggest": {
9393
"ext-soap": "Needed to support some drivers that required SOAP"
9494
},
9595
"require-dev": {
96-
"orchestra/testbench": "^3.0|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
97-
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0|^10.0",
96+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
97+
"phpunit/phpunit": ">=9.0",
9898
"squizlabs/php_codesniffer": "^3.5"
9999
},
100100
"autoload": {

phpunit.xml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false">
11-
<filter>
12-
<whitelist>
13-
<directory>./src/</directory>
14-
</whitelist>
15-
</filter>
16-
<testsuites>
17-
<testsuite name="Test Suite">
18-
<directory suffix="Test.php">./tests/</directory>
19-
</testsuite>
20-
</testsuites>
21-
<php>
22-
<env name="APP_ENV" value="testing"/>
23-
</php>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="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>./src/</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Test Suite">
10+
<directory suffix="Test.php">./tests/</directory>
11+
</testsuite>
12+
</testsuites>
13+
<php>
14+
<env name="APP_ENV" value="testing"/>
15+
</php>
2416
</phpunit>

0 commit comments

Comments
 (0)