Skip to content

Commit 4cee55e

Browse files
committed
Merge branch '10.x'
# Conflicts: # CHANGELOG.md # src/Guards/TokenGuard.php
2 parents ed6f6c1 + 75fd509 commit 4cee55e

17 files changed

+188
-92
lines changed

.github/workflows/pull-requests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: pull requests
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
uneditable:
12+
uses: laravel/.github/.github/workflows/pull-requests.yml@main

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
php-version: ${{ matrix.php }}
3434
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
35+
ini-values: error_reporting=E_ALL
3536
tools: composer:v2
3637
coverage: none
3738

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: update changelog
2+
3+
on:
4+
release:
5+
types: [released]
6+
7+
jobs:
8+
update:
9+
uses: laravel/.github/.github/workflows/update-changelog.yml@main

CHANGELOG.md

Lines changed: 101 additions & 55 deletions
Large diffs are not rendered by default.

UPGRADE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Laravel 8.0 is now the minimum required version.
1616

1717
PR: https://github.com/laravel/passport/pull/1325
1818

19-
The personal client configuration methods have been removed from the `Passport` class since they are no longer necessary. You should remove calls to these methods from your `AuthServiceProvider`.
19+
The personal client configuration methods have been removed from the `Passport` class since they are no longer necessary. You should remove any calls to these methods from your application's service providers.
2020

2121
## Upgrading To 9.0 From 8.x
2222

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"require": {
1717
"php": "^7.3|^8.0",
1818
"ext-json": "*",
19-
"firebase/php-jwt": "^5.0",
20-
"illuminate/auth": "^8.2|^9.0",
21-
"illuminate/console": "^8.2|^9.0",
22-
"illuminate/container": "^8.2|^9.0",
23-
"illuminate/contracts": "^8.2|^9.0",
24-
"illuminate/cookie": "^8.2|^9.0",
25-
"illuminate/database": "^8.2|^9.0",
26-
"illuminate/encryption": "^8.2|^9.0",
27-
"illuminate/http": "^8.2|^9.0",
28-
"illuminate/support": "^8.2|^9.0",
19+
"firebase/php-jwt": "^6.0",
20+
"illuminate/auth": "^8.37|^9.0",
21+
"illuminate/console": "^8.37|^9.0",
22+
"illuminate/container": "^8.37|^9.0",
23+
"illuminate/contracts": "^8.37|^9.0",
24+
"illuminate/cookie": "^8.37|^9.0",
25+
"illuminate/database": "^8.37|^9.0",
26+
"illuminate/encryption": "^8.37|^9.0",
27+
"illuminate/http": "^8.37|^9.0",
28+
"illuminate/support": "^8.37|^9.0",
2929
"lcobucci/jwt": "^3.4|^4.0",
3030
"league/oauth2-server": "^8.2",
3131
"nyholm/psr7": "^1.3",

database/factories/ClientFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public function definition()
2525
{
2626
return $this->ensurePrimaryKeyIsSet([
2727
'user_id' => null,
28-
'name' => $this->faker->company,
28+
'name' => $this->faker->company(),
2929
'secret' => Str::random(40),
30-
'redirect' => $this->faker->url,
30+
'redirect' => $this->faker->url(),
3131
'personal_access_client' => false,
3232
'password_client' => false,
3333
'revoked' => false,

database/migrations/2016_06_01_000001_create_oauth_auth_codes_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
class CreateOauthAuthCodesTable extends Migration
7+
return new class extends Migration
88
{
99
/**
1010
* Run the migrations.
@@ -32,4 +32,4 @@ public function down()
3232
{
3333
Schema::dropIfExists('oauth_auth_codes');
3434
}
35-
}
35+
};

database/migrations/2016_06_01_000002_create_oauth_access_tokens_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
class CreateOauthAccessTokensTable extends Migration
7+
return new class extends Migration
88
{
99
/**
1010
* Run the migrations.
@@ -34,4 +34,4 @@ public function down()
3434
{
3535
Schema::dropIfExists('oauth_access_tokens');
3636
}
37-
}
37+
};

database/migrations/2016_06_01_000003_create_oauth_refresh_tokens_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
class CreateOauthRefreshTokensTable extends Migration
7+
return new class extends Migration
88
{
99
/**
1010
* Run the migrations.
@@ -30,4 +30,4 @@ public function down()
3030
{
3131
Schema::dropIfExists('oauth_refresh_tokens');
3232
}
33-
}
33+
};

0 commit comments

Comments
 (0)