Skip to content

Commit bf00701

Browse files
authored
Merge pull request #494 from Chris53897/patch-1
ci: Add tests for PHP 8.4
2 parents d99b299 + 2e47707 commit bf00701

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
44+
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
4545
name_suffix: ['']
4646
stability: ['stable']
4747
composer_flags: ['']
@@ -50,7 +50,7 @@ jobs:
5050
name_suffix: ' (lowest deps)'
5151
stability: 'stable'
5252
composer_flags: '--prefer-lowest'
53-
- php: '8.3'
53+
- php: '8.4'
5454
name_suffix: ' (dev deps)'
5555
stability: 'dev'
5656
composer_flags: ''

src/EventListener/BlameListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class BlameListener implements EventSubscriberInterface
2121
private ?TokenStorageInterface $tokenStorage;
2222
private BlameableListener $blameableListener;
2323

24-
public function __construct(BlameableListener $blameableListener, TokenStorageInterface $tokenStorage = null, AuthorizationCheckerInterface $authorizationChecker = null)
24+
public function __construct(BlameableListener $blameableListener, ?TokenStorageInterface $tokenStorage = null, ?AuthorizationCheckerInterface $authorizationChecker = null)
2525
{
2626
$this->blameableListener = $blameableListener;
2727
$this->tokenStorage = $tokenStorage;

src/EventListener/LoggerListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class LoggerListener implements EventSubscriberInterface
2828
/**
2929
* @param LoggableListener<T> $loggableListener
3030
*/
31-
public function __construct(LoggableListener $loggableListener, TokenStorageInterface $tokenStorage = null, AuthorizationCheckerInterface $authorizationChecker = null)
31+
public function __construct(LoggableListener $loggableListener, ?TokenStorageInterface $tokenStorage = null, ?AuthorizationCheckerInterface $authorizationChecker = null)
3232
{
3333
$this->loggableListener = $loggableListener;
3434
$this->tokenStorage = $tokenStorage;

0 commit comments

Comments
 (0)