Skip to content

Commit 7e43c4f

Browse files
committed
feature #262 Add PHP 8.5 support (ajgarlag)
This PR was merged into the 1.x-dev branch. Discussion ---------- Add PHP 8.5 support Commits ------- 2511fbc Add PHP 8.5 support
2 parents 445dec1 + 2511fbc commit 7e43c4f

File tree

7 files changed

+5
-10
lines changed

7 files changed

+5
-10
lines changed

.github/workflows/coding-standards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- name: "setup php"
1919
uses: "shivammathur/setup-php@v2"
2020
with:
21-
php-version: "latest"
22-
tools: "composer, flex"
21+
php-version: "8.4"
22+
tools: "composer"
2323

2424
- name: "install composer dependencies"
2525
uses: "ramsey/composer-install@v3"

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: "shivammathur/setup-php@v2"
2020
with:
2121
php-version: "latest"
22-
tools: "composer, flex"
22+
tools: "composer"
2323

2424
- name: "install composer dependencies"
2525
uses: "ramsey/composer-install@v3"

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php: ["8.1", "8.2", "8.3", "8.4"]
17+
php: ["8.1", "8.2", "8.3", "8.4", "8.5"]
1818
symfony: ["6.4.*", "7.3.*", "7.4.*", "8.0.*"]
1919
doctrine-orm: ["^2.14", "^3.0"]
2020
dependency-versions: ["highest"]
@@ -27,7 +27,7 @@ jobs:
2727
dependency-versions: "lowest"
2828
composer-stable: "1"
2929
can-fail: false
30-
- php: "8.4"
30+
- php: "latest"
3131
symfony: "8.0.*"
3232
doctrine-orm: "^3.0"
3333
composer-flags: ''

tests/Integration/AuthorizationServerCustomGrantTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public function testAuthorizationServerHasOurCustomGrantEnabled(): void
1919

2020
$reflectionClass = new \ReflectionClass(AuthorizationServer::class);
2121
$reflectionProperty = $reflectionClass->getProperty('enabledGrantTypes');
22-
$reflectionProperty->setAccessible(true);
2322

2423
$enabledGrantTypes = $reflectionProperty->getValue($authorizationServer);
2524

tests/Unit/InMemoryAccessTokenManagerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function testClearExpired(): void
2727
$this->assertSame(3, $inMemoryAccessTokenManager->clearExpired());
2828

2929
$reflectionProperty = new \ReflectionProperty(InMemoryAccessTokenManager::class, 'accessTokens');
30-
$reflectionProperty->setAccessible(true);
3130

3231
$this->assertSame($testData['output'], $reflectionProperty->getValue($inMemoryAccessTokenManager));
3332
}
@@ -45,7 +44,6 @@ public function testClearExpiredWithoutSavingAccessToken(): void
4544
$this->assertSame(0, $inMemoryAccessTokenManager->clearExpired());
4645

4746
$reflectionProperty = new \ReflectionProperty(InMemoryAccessTokenManager::class, 'accessTokens');
48-
$reflectionProperty->setAccessible(true);
4947

5048
$this->assertSame([], $reflectionProperty->getValue($inMemoryAccessTokenManager));
5149
}

tests/Unit/InMemoryAuthCodeManagerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public function testClearExpired(): void
2525
$this->assertSame(3, $inMemoryAuthCodeManager->clearExpired());
2626

2727
$reflectionProperty = new \ReflectionProperty(InMemoryAuthCodeManager::class, 'authorizationCodes');
28-
$reflectionProperty->setAccessible(true);
2928

3029
$this->assertSame($testData['output'], $reflectionProperty->getValue($inMemoryAuthCodeManager));
3130
}

tests/Unit/InMemoryRefreshTokenManagerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public function testClearExpired(): void
2525
$this->assertSame(3, $inMemoryRefreshTokenManager->clearExpired());
2626

2727
$reflectionProperty = new \ReflectionProperty(InMemoryRefreshTokenManager::class, 'refreshTokens');
28-
$reflectionProperty->setAccessible(true);
2928

3029
$this->assertSame($testData['output'], $reflectionProperty->getValue($inMemoryRefreshTokenManager));
3130
}

0 commit comments

Comments
 (0)