Skip to content

Commit

Permalink
Merge pull request #79 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
chinleung authored Feb 26, 2024
2 parents 6f4aac7 + 67de6f3 commit b2c65b2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: tests
on: [push, pull_request]

on:
- push
- pull_request

jobs:
tests:
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}

runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.1]
php: [8.1, '8.2']
stability: [prefer-lowest, prefer-stable]

steps:
Expand All @@ -33,4 +37,3 @@ jobs:

- name: Execute tests
run: vendor/bin/phpunit --colors --verbose

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"require": {
"php": "^8.1",
"chinleung/laravel-locales": "^2.0",
"illuminate/support": "^10.0"
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^9.5.10"
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^9.5.10|^10.5"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit b2c65b2

Please sign in to comment.