Skip to content

Commit

Permalink
Support for PHP 8.2 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet authored Dec 9, 2022
1 parent 82a0ea9 commit ee93df8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,19 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.1, 8.0, 7.4]
laravel: [9.*, 8.*]
php: [8.2, 8.1, 8.0]
laravel: [9.*]
db: [mysql, postgres, sqlite]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 9.*
php: 7.4
include:
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*

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

services:
mysql:
image: mysql:5.7
image: mysql:8.0
env:
MYSQL_ALLOW_EMPTY_PASSWORD: no
MYSQL_USER: protone_media_db_test
Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
}
],
"require": {
"php": "^7.4|^8.0|^8.1",
"illuminate/support": "^8.67|^9.0"
"php": "^8.0|^8.1|^8.2",
"illuminate/support": "^9.0",
"nesbot/carbon": "^2.63"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
"orchestra/testbench": "^6.23|7.0",
"orchestra/testbench": "7.0",
"phpunit/phpunit": "^9.4"
},
"autoload": {
Expand All @@ -43,4 +44,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}

0 comments on commit ee93df8

Please sign in to comment.