Skip to content

Commit

Permalink
feat: support Laravel 10.x + test php 8.2 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Feb 8, 2023
1 parent b7b1e15 commit 22d0d84
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.1]
php-version: [8.2]

steps:
- name: Checkout sources
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.1]
php-version: [8.2]

steps:
- name: Checkout sources
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
- created

env:
default-php-version: '8.1'
default-laravel-version: '9.*'
semantic-node-version: 16
default-php-version: '8.2'
default-laravel-version: '10.*'
semantic-node-version: 18


jobs:
Expand All @@ -26,8 +26,11 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.0', '8.1']
laravel-version: [8.*, 9.*]
php-version: ['8.0', '8.1', '8.2']
laravel-version: [8.*, 9.*, 10.*]
exclude:
- laravel-version: 10.*
php-version: '8.0'
name: PHP ${{ matrix.php-version }} | Laravel ${{ matrix.laravel-version }}

steps:
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
}
],
"require": {
"illuminate/support": "^8.0 || ^9.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0",
"sabre/dav": "^4.0",
"thecodingmachine/safe": "^2.0"
},
"require-dev": {
"mockery/mockery": "^1.4",
"nunomaduro/larastan": "^1.0 || ^2.0",
"ocramius/package-versions": "^1.9 || ^2.0",
"orchestra/testbench": "^6.0 || ^7.0",
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.0",
"roave/security-advisories": "dev-master",
"thecodingmachine/phpstan-safe-rule": "^1.0",
"vimeo/psalm": "^4.0"
"vimeo/psalm": "^4.0 || ^5.6"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 22d0d84

Please sign in to comment.