Skip to content

Commit 13f0b9e

Browse files
committed
Fix errors and tests
1 parent 31ed92c commit 13f0b9e

File tree

9 files changed

+7973
-16
lines changed

9 files changed

+7973
-16
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor
2+
.phpunit.result.cache

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,21 @@ language: php
22

33
php:
44
- 7.2
5+
- 7.3
6+
- 7.4
7+
- 8.0
58

69
env:
10+
- LARAVEL_VERSION=^6.0
11+
- LARAVEL_VERSION=^7.0
12+
- LARAVEL_VERSION=^8.0
13+
- LARAVEL_VERSION=^9.0
714
matrix:
815
fast_finish: true
916

1017
before_script:
1118
- travis_retry composer self-update
19+
- composer require laravel/framework:${LARAVEL_VERSION}
1220
- travis_retry composer install --no-interaction --prefer-source
1321

1422
script:

composer.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
"type": "library",
1212
"homepage": "https://www.softinklab.com",
1313
"require": {
14-
"php": "^7.3|^8.0"
14+
"php": ">=7.2"
1515
},
1616
"require-dev": {
17-
"orchestra/database": "^6.0",
18-
"orchestra/testbench": "^6.0"
17+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
18+
"illuminate/database": "^6.0|^7.0|^8.0|^9.0",
19+
"orchestra/database": "^4.0|^5.0|^6.0",
20+
"orchestra/testbench": "^4.0|^5.0|^6.0"
1921
},
2022
"autoload": {
2123
"files": [
@@ -25,6 +27,17 @@
2527
"SoftinkLab\\LaravelKeyvalueStorage\\" : "src/"
2628
}
2729
},
30+
"autoload-dev": {
31+
"psr-4": {
32+
"SoftinkLab\\LaravelKeyvalueStorage\\Test\\": "tests"
33+
}
34+
},
35+
"scripts": {
36+
"test": "vendor/bin/phpunit"
37+
},
38+
"config": {
39+
"sort-packages": true
40+
},
2841
"license": "MIT",
2942
"authors": [
3043
{

0 commit comments

Comments
 (0)