Skip to content

Commit

Permalink
Support for Laravel 10 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw authored Jul 14, 2022
1 parent fee2068 commit c37a0f3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
matrix:
php: [7.3, 7.4, '8.0', 8.1]
lib:
- { laravel: ^10.0 }
- { laravel: ^9.0 }
- { laravel: ^8.0 }
- { laravel: ^7.0 }
Expand All @@ -19,7 +20,10 @@ jobs:
- { php: 8.1, lib: { laravel: ^7.0 } }
- { 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 @@ -23,7 +23,7 @@ Rapid pagination without using OFFSET
## 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`
- [lampager/lampager](https://github.com/lampager/lampager): `^0.4`

## Installing
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"php": "^7.3 || ^8.0",
"ext-json": "*",
"lampager/lampager": "^0.4",
"illuminate/contracts": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0"
"illuminate/contracts": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0"
},
"require-dev": {
"orchestra/testbench": "*",
Expand Down

0 comments on commit c37a0f3

Please sign in to comment.