Skip to content

Commit

Permalink
Laravel 9 & PHP 8.1 support (#1)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
patricksamson authored Aug 11, 2022
1 parent 76fdb38 commit c61b4bb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0]
laravel: [6.*, 7.*, 8.*]
php: [7.4, 8.0, 8.1]
laravel: [6.*, 7.*, 8.*, 9.*]
exclude:
- php: 7.4
laravel: 9.*
- php: 8.1
laravel: 6.*
- php: 8.1
laravel: 7.*
include:
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 7.*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Laravel Preflight Checks

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

Performs pre-flight checks to ensure configuration and setup for deployment or development.
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
],
"require": {
"php": "^7.4|^8.0",
"illuminate/support": "^6.0|^7.0|^8.0",
"illuminate/pipeline": "^6.0|^7.0|^8.0"
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
"illuminate/pipeline": "^6.0|^7.0|^8.0|^9.0"
},
"require-dev": {
"doctrine/dbal": "^2.0",
"fakerphp/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"orchestra/testbench": "4.*|5.*|6.*",
"phpunit/phpunit": "^9.0 <9.5"
"orchestra/testbench": "4.*|5.*|6.*|7.*",
"phpunit/phpunit": "^9.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit c61b4bb

Please sign in to comment.