Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update illuminate/contracts to support ^11.0 #8

Merged
merged 11 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1]
laravel: [8.*, 9.*, 10.*]
os: [ubuntu-latest]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [9.*, 10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
exclude:
- php: 8.0
laravel: 10.*
include:
- laravel: 9.*
testbench: ^7.9
- laravel: 10.*
php: 8.0
testbench: ^8.0
- laravel: 11.*
testbench: ^9.0

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

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
],
"require": {
"php": "^8.0",
"illuminate/contracts": "^8.67|^9.0|^10.0",
"illuminate/contracts": "^8.67|^9.0|^10.0|^11.0",
"morrislaptop/symfony-custom-normalizers": "^0.4|^0.5",
"symfony/property-access": "^5.2|^6.0",
"symfony/property-info": "^5.2|^6.0",
"symfony/serializer": "^5.2|^6.0"
"symfony/property-access": "^5.2|^6.0|^7.0",
"symfony/property-info": "^5.2|^6.0|^7.0",
"symfony/serializer": "^5.2|^6.0|^7.0"
},
"require-dev": {
"brick/money": "^0.5.1|^0.8",
"friendsofphp/php-cs-fixer": "^3.8",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^6.18|^7.0|^8.0",
"orchestra/testbench": "^7.9|^8.0|^9.0",
"phpunit/phpunit": "^9.3",
"vimeo/psalm": "^4.4|^5.6"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/SerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ public function it_casts_json_to_an_object()
$this->assertEquals('1641 Riverside Drive', $user->addresses[0]->street);
}

protected function usesGetRoute($app)
protected function usesGetRoute()
{
$app->router->get('/users/{user}', function ($user) {
app()->router->get('/users/{user}', function ($user) {
$user = UserWithAddress::find($user);

return $user;
Expand Down
Loading