Skip to content

Commit

Permalink
Merge pull request #20 from TheDragonCode/1.x
Browse files Browse the repository at this point in the history
Added Laravel 11 support
  • Loading branch information
andrey-helldar authored Mar 12, 2024
2 parents c7fac81 + 9aa1547 commit e11920e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ "8.1", "8.2" ]
laravel: [ "8.0", "9.0", "10.0" ]
prefer: [ "stable", "lowest" ]
php: [ "8.1", "8.2", "8.3" ]
laravel: [ "8.0", "9.0", "10.0", "11.0" ]
exclude:
- laravel: 11.0
php: 8.1


name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} ${{ matrix.prefer }}
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
Expand All @@ -27,7 +30,7 @@ jobs:
coverage: none

- name: Install dependencies
run: composer require --dev laravel/framework:^${{ matrix.laravel }} --prefer-${{ matrix.prefer }}
run: composer require --dev laravel/framework:^${{ matrix.laravel }}

- name: Execute tests
run: sudo vendor/bin/phpunit
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
"php": "^8.1",
"archtechx/enums": "^0.3.1",
"dragon-code/support": "^6.9",
"illuminate/collections": "^8.75 || ^9.0 || ^10.0"
"illuminate/collections": "^8.75 || ^9.0 || ^10.0 || ^11.0"
},
"require-dev": {
"fakerphp/faker": "^1.21",
"illuminate/database": "^8.75 || ^9.0 || ^10.0",
"illuminate/database": "^8.75 || ^9.0 || ^10.0 || ^11.0",
"phpunit/phpunit": "^9.6",
"symfony/var-dumper": "^5.3 || ^6.0"
"symfony/var-dumper": "^5.3 || ^6.0 || ^7.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand Down

0 comments on commit e11920e

Please sign in to comment.