Skip to content

Commit

Permalink
Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenMl committed Mar 8, 2024
1 parent 840fb32 commit c7d4ecf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]
laravel: [10.*]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*

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

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
],
"require": {
"php": "^8.2",
"illuminate/translation": "^10.0",
"illuminate/support": "^10.0",
"illuminate/validation": "^10.0"
"illuminate/translation": "^10.0 || ^11.0",
"illuminate/support": "^10.0 || ^11.0",
"illuminate/validation": "^10.0 || ^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.7",
"nunomaduro/collision": "^7.10",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^8.0",
"nunomaduro/collision": "^7.10 || ^8.1",
"larastan/larastan": "^2.0.1",
"orchestra/testbench": "^8.0 || ^9.0",
"pestphp/pest": "^2.24",
"pestphp/pest-plugin-laravel": "^2.2",
"phpstan/extension-installer": "^1.1",
Expand Down
2 changes: 1 addition & 1 deletion tests/Rules/RuleTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class RuleTestCase extends TestCase
{
/**
* @return \Illuminate\Contracts\Validation\Validator
* @return ValidatorContract
*/
protected function makeValidator(mixed $value, mixed $rule)
{
Expand Down

0 comments on commit c7d4ecf

Please sign in to comment.