Skip to content

Commit

Permalink
Support for Laravel 10 (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw authored Jul 14, 2022
1 parent 2a50ebd commit f4b2c6c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ jobs:
matrix:
php: [7.3, 7.4, '8.0', 8.1]
lib:
- { laravel: ^10.0 }
- { laravel: ^9.0 }
- { laravel: ^8.0 }
- { laravel: ^7.0 }
- { laravel: ^6.9 }
- { laravel: ^6.9, flags: --prefer-lowest }
- { laravel: ^6.0 }
- { laravel: ^6.0, flags: --prefer-lowest }
exclude:
- { php: 8.1, lib: { laravel: ^7.0 } }
- { php: 8.1, lib: { laravel: ^6.9 } }
- { php: 8.1, lib: { laravel: ^6.9, flags: --prefer-lowest } }
- { php: 8.1, lib: { laravel: ^6.0 } }
- { php: 8.1, lib: { laravel: ^6.0, flags: --prefer-lowest } }
- { php: 8.0, lib: { laravel: ^10.0 } }
- { php: 7.4, lib: { laravel: ^10.0 } }
- { php: 7.4, lib: { laravel: ^9.0 } }
- { php: 7.3, lib: { laravel: ^10.0 } }
- { php: 7.3, lib: { laravel: ^9.0 } }

steps:
Expand Down
4 changes: 3 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ filter:

build:

image: default-bionic

nodes:
analysis:
tests:
override:
- php-scrutinizer-run

environment:
php: '7.4'
php: '8.1.8'

dependencies:
before:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Guarantee database stickiness over the same user's consecutive requests.
## Requirements

- PHP: `^7.3 || ^8.0`
- Laravel: `^6.0 || ^7.0 || ^8.0 || ^9.0`
- Laravel: `^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0`

## Installing

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"require": {
"php": "^7.3 || ^8.0",
"ext-pdo": "*",
"illuminate/container": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/contracts": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/queue": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0"
"illuminate/container": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"illuminate/contracts": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"illuminate/queue": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0"
},
"require-dev": {
"orchestra/testbench": "*",
Expand Down

0 comments on commit f4b2c6c

Please sign in to comment.