Skip to content

Commit c4dbbcb

Browse files
committed
Update changelog
2 parents ab7714d + 8a59a84 commit c4dbbcb

25 files changed

Lines changed: 375 additions & 365 deletions

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 0
3434

@@ -38,6 +38,10 @@ jobs:
3838
php-version: ${{ matrix.php }}
3939
extensions: dom, curl, libxml, mbstring, zip
4040
coverage: pcov
41+
42+
- name: Remove Security Advisories on obsolete PHP versions
43+
run: composer remove "roave/security-advisories" --dev --no-update
44+
if: matrix.php <= 7.4
4145

4246
- name: Install dependencies
4347
run:

.styleci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ enabled:
2727
- no_unreachable_default_argument_value
2828
- no_unused_imports
2929
- no_whitespace_before_comma_in_array
30+
- nullable_type_declarations
3031
- ordered_imports
3132
- phpdoc_align
3233
- phpdoc_indent

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [8.5.5] - released 2024-12-20
10+
### Fixed
11+
- PHP 8.4 deprecation notices fixed (PR #1466)
12+
913
## [8.5.4] - released 2023-08-25
1014
### Added
1115
- Support for league/uri ^7.0 (PR #1367)
@@ -606,7 +610,8 @@ Version 5 is a complete code rewrite.
606610

607611
- First major release
608612

609-
[Unreleased]: https://github.com/thephpleague/oauth2-server/compare/8.5.4...HEAD
613+
[Unreleased]: https://github.com/thephpleague/oauth2-server/compare/8.5.5...HEAD
614+
[8.5.4]: https://github.com/thephpleague/oauth2-server/compare/8.5.4...8.5.5
610615
[8.5.4]: https://github.com/thephpleague/oauth2-server/compare/8.5.3...8.5.4
611616
[8.5.3]: https://github.com/thephpleague/oauth2-server/compare/8.5.2...8.5.3
612617
[8.5.2]: https://github.com/thephpleague/oauth2-server/compare/8.5.1...8.5.2

examples/public/api.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@
3333
function (ServerRequestInterface $request, ResponseInterface $response) use ($app) {
3434
$users = [
3535
[
36-
'id' => 123,
37-
'name' => 'Alex',
36+
'id' => 123,
37+
'name' => 'Alex',
3838
'email' => 'alex@thephpleague.com',
3939
],
4040
[
41-
'id' => 124,
42-
'name' => 'Frank',
41+
'id' => 124,
42+
'name' => 'Frank',
4343
'email' => 'frank@thephpleague.com',
4444
],
4545
[
46-
'id' => 125,
47-
'name' => 'Phil',
46+
'id' => 125,
47+
'name' => 'Phil',
4848
'email' => 'phil@thephpleague.com',
4949
],
5050
];

examples/public/auth_code.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
include __DIR__ . '/../vendor/autoload.php';
2525

2626
$app = new App([
27-
'settings' => [
27+
'settings' => [
2828
'displayErrorDetails' => true,
2929
],
3030
AuthorizationServer::class => function () {

examples/public/client_credentials.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
include __DIR__ . '/../vendor/autoload.php';
2121

2222
$app = new App([
23-
'settings' => [
23+
'settings' => [
2424
'displayErrorDetails' => true,
2525
],
2626
AuthorizationServer::class => function () {

examples/public/implicit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
include __DIR__ . '/../vendor/autoload.php';
2323

2424
$app = new App([
25-
'settings' => [
25+
'settings' => [
2626
'displayErrorDetails' => true,
2727
],
2828
AuthorizationServer::class => function () {

examples/public/middleware_use.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
include __DIR__ . '/../vendor/autoload.php';
2727

2828
$app = new App([
29-
'settings' => [
29+
'settings' => [
3030
'displayErrorDetails' => true,
3131
],
3232
AuthorizationServer::class => function () {
@@ -89,7 +89,7 @@
8989

9090
if (\in_array('basic', $request->getAttribute('oauth_scopes', []))) {
9191
$params = [
92-
'id' => 1,
92+
'id' => 1,
9393
'name' => 'Alex',
9494
'city' => 'London',
9595
];

examples/public/refresh_token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
include __DIR__ . '/../vendor/autoload.php';
2222

2323
$app = new App([
24-
'settings' => [
24+
'settings' => [
2525
'displayErrorDetails' => true,
2626
],
2727
AuthorizationServer::class => function () {

examples/src/Repositories/ClientRepository.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public function validateClient($clientIdentifier, $clientSecret, $grantType)
3939
{
4040
$clients = [
4141
'myawesomeapp' => [
42-
'secret' => \password_hash('abc123', PASSWORD_BCRYPT),
43-
'name' => self::CLIENT_NAME,
44-
'redirect_uri' => self::REDIRECT_URI,
42+
'secret' => \password_hash('abc123', PASSWORD_BCRYPT),
43+
'name' => self::CLIENT_NAME,
44+
'redirect_uri' => self::REDIRECT_URI,
4545
'is_confidential' => true,
4646
],
4747
];

0 commit comments

Comments
 (0)