Skip to content

Commit c61b4bb

Browse files
Laravel 9 & PHP 8.1 support (#1)
* Bump dependencies to allow Laravel 9 * Remove PHPUnit constraint * Exclude PHP 7.4 and Laravel 9 * Run CI on PHP 8.1 * Exclude PHP 8.1 for Laravel 6&7
1 parent 76fdb38 commit c61b4bb

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,18 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [7.4, 8.0]
13-
laravel: [6.*, 7.*, 8.*]
12+
php: [7.4, 8.0, 8.1]
13+
laravel: [6.*, 7.*, 8.*, 9.*]
14+
exclude:
15+
- php: 7.4
16+
laravel: 9.*
17+
- php: 8.1
18+
laravel: 6.*
19+
- php: 8.1
20+
laravel: 7.*
1421
include:
22+
- laravel: 9.*
23+
testbench: 7.*
1524
- laravel: 8.*
1625
testbench: 6.*
1726
- laravel: 7.*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Laravel Preflight Checks
22

3-
![Laravel Supported Versions](https://img.shields.io/badge/laravel-6.x/7.x/8.x-green.svg)
3+
![Laravel Supported Versions](https://img.shields.io/badge/laravel-6.x/7.x/8.x/9.x-green.svg)
44
[![MIT Licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
55

66
Performs pre-flight checks to ensure configuration and setup for deployment or development.

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
],
1717
"require": {
1818
"php": "^7.4|^8.0",
19-
"illuminate/support": "^6.0|^7.0|^8.0",
20-
"illuminate/pipeline": "^6.0|^7.0|^8.0"
19+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
20+
"illuminate/pipeline": "^6.0|^7.0|^8.0|^9.0"
2121
},
2222
"require-dev": {
2323
"doctrine/dbal": "^2.0",
2424
"fakerphp/faker": "^1.9.1",
2525
"mockery/mockery": "^1.3.1",
26-
"orchestra/testbench": "4.*|5.*|6.*",
27-
"phpunit/phpunit": "^9.0 <9.5"
26+
"orchestra/testbench": "4.*|5.*|6.*|7.*",
27+
"phpunit/phpunit": "^9.0"
2828
},
2929
"autoload": {
3030
"psr-4": {

0 commit comments

Comments
 (0)