Skip to content

Commit

Permalink
Add support for PHP 8.0 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet authored Nov 2, 2020
1 parent 263311f commit fab7dbb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 7.1, 7.2, 7.3, 7.4 ]
php: [ 7.1, 7.2, 7.3, 7.4, 8.0 ]
laravel: [ 5.6.*, 5.7.*, 5.8.*, 6.*, 7.*, 8.* ]
dependency-version: [ prefer-stable ]
include:
Expand All @@ -34,6 +34,12 @@ jobs:
php: 7.1
- laravel: 6.*
php: 7.1
- laravel: 5.8.*
php: 8.0
- laravel: 5.7.*
php: 8.0
- laravel: 5.6.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.1|^8.0",
"0.0.0/composer-include-files": "^1.5",
"codezero/laravel-localizer": "^1.1",
"illuminate/support": "^5.6|^6.0|^7.0|^8.0"
},
"require-dev": {
"mockery/mockery": "^1.0",
"mockery/mockery": "^1.3.3",
"orchestra/testbench": "^3.6|^4.0|^5.0|^6.0",
"phpunit/phpunit": "^7.0|^8.0|^9.0"
},
Expand Down Expand Up @@ -60,4 +60,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}

0 comments on commit fab7dbb

Please sign in to comment.