Skip to content

Commit

Permalink
ADD Laravel 10 compatibility (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Dalla Via authored Feb 13, 2023
1 parent f4d1f8d commit a2bd81a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,19 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.1, 8.0]
laravel: [9.*]
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
exclude:
- laravel: 10.*
php: 8.0

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

Expand All @@ -40,7 +47,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 MAIZE SRL <[email protected]>
Copyright (c) 2023 MAIZE SRL <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"description": "Laravel Excludable",
"keywords": [
"maize-tech",
"laravel-excludable"
"laravel",
"excludable"
],
"homepage": "https://github.com/maize-tech/laravel-excludable",
"license": "MIT",
Expand All @@ -17,16 +18,15 @@
],
"require": {
"php": "^8.0",
"illuminate/database": "^9.0",
"illuminate/support": "^9.0",
"spatie/laravel-package-tools": "^1.9.2"
"illuminate/database": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0",
"spatie/laravel-package-tools": "^1.14.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"nunomaduro/collision": "^6.0",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^9.5",
"spatie/laravel-ray": "^1.26",
"vimeo/psalm": "^4.20"
},
"autoload": {
Expand Down

0 comments on commit a2bd81a

Please sign in to comment.