Skip to content

Commit 0ce1d8c

Browse files
authored
Merge branch '7.0' into testing-acting-as-client
2 parents 66add57 + cc39dc6 commit 0ce1d8c

File tree

68 files changed

+198
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+198
-188
lines changed

.styleci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
php:
22
preset: laravel
3+
enabled:
4+
- alpha_ordered_imports
5+
disabled:
6+
- length_ordered_imports
37
js: true
48
css: true

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Release Notes
22

3-
## [Unreleased](https://github.com/laravel/passport/compare/v7.4.0...7.0)
3+
## [Unreleased](https://github.com/laravel/passport/compare/v7.4.1...7.0)
4+
5+
6+
## [v7.4.1 (2019-09-10)](https://github.com/laravel/passport/compare/v7.4.0...v7.4.1)
7+
8+
### Fixed
9+
- Fixed key types for models ([#1078](https://github.com/laravel/passport/pull/1078), [a9a885d3](https://github.com/laravel/passport/commit/a9a885d3c2344ec133ed42a0268e503a76810982))
410

511

612
## [v7.4.0 (2019-08-20)](https://github.com/laravel/passport/compare/v7.3.5...v7.4.0)

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
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateOauthAuthCodesTable extends Migration
88
{

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
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateOauthAccessTokensTable extends Migration
88
{

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
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateOauthRefreshTokensTable extends Migration
88
{

database/migrations/2016_06_01_000004_create_oauth_clients_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateOauthClientsTable extends Migration
88
{

database/migrations/2016_06_01_000005_create_oauth_personal_access_clients_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateOauthPersonalAccessClientsTable extends Migration
88
{

src/ApiTokenCookieFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
use Carbon\Carbon;
66
use Firebase\JWT\JWT;
7-
use Symfony\Component\HttpFoundation\Cookie;
8-
use Illuminate\Contracts\Encryption\Encrypter;
97
use Illuminate\Contracts\Config\Repository as Config;
8+
use Illuminate\Contracts\Encryption\Encrypter;
9+
use Symfony\Component\HttpFoundation\Cookie;
1010

1111
class ApiTokenCookieFactory
1212
{

src/Bridge/AccessToken.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Laravel\Passport\Bridge;
44

5-
use League\OAuth2\Server\Entities\Traits\EntityTrait;
5+
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
66
use League\OAuth2\Server\Entities\Traits\AccessTokenTrait;
7+
use League\OAuth2\Server\Entities\Traits\EntityTrait;
78
use League\OAuth2\Server\Entities\Traits\TokenEntityTrait;
8-
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
99

1010
class AccessToken implements AccessTokenEntityInterface
1111
{

src/Bridge/AccessTokenRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace Laravel\Passport\Bridge;
44

55
use DateTime;
6-
use Laravel\Passport\TokenRepository;
76
use Illuminate\Contracts\Events\Dispatcher;
87
use Laravel\Passport\Events\AccessTokenCreated;
9-
use League\OAuth2\Server\Entities\ClientEntityInterface;
8+
use Laravel\Passport\TokenRepository;
109
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
10+
use League\OAuth2\Server\Entities\ClientEntityInterface;
1111
use League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface;
1212

1313
class AccessTokenRepository implements AccessTokenRepositoryInterface

0 commit comments

Comments
 (0)