Skip to content

Commit

Permalink
Merge pull request #494 from Chris53897/patch-1
Browse files Browse the repository at this point in the history
ci: Add tests for PHP 8.4
  • Loading branch information
stof authored Jan 7, 2025
2 parents d99b299 + 2e47707 commit bf00701
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
name_suffix: ['']
stability: ['stable']
composer_flags: ['']
Expand All @@ -50,7 +50,7 @@ jobs:
name_suffix: ' (lowest deps)'
stability: 'stable'
composer_flags: '--prefer-lowest'
- php: '8.3'
- php: '8.4'
name_suffix: ' (dev deps)'
stability: 'dev'
composer_flags: ''
Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/BlameListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class BlameListener implements EventSubscriberInterface
private ?TokenStorageInterface $tokenStorage;
private BlameableListener $blameableListener;

public function __construct(BlameableListener $blameableListener, TokenStorageInterface $tokenStorage = null, AuthorizationCheckerInterface $authorizationChecker = null)
public function __construct(BlameableListener $blameableListener, ?TokenStorageInterface $tokenStorage = null, ?AuthorizationCheckerInterface $authorizationChecker = null)
{
$this->blameableListener = $blameableListener;
$this->tokenStorage = $tokenStorage;
Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/LoggerListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class LoggerListener implements EventSubscriberInterface
/**
* @param LoggableListener<T> $loggableListener
*/
public function __construct(LoggableListener $loggableListener, TokenStorageInterface $tokenStorage = null, AuthorizationCheckerInterface $authorizationChecker = null)
public function __construct(LoggableListener $loggableListener, ?TokenStorageInterface $tokenStorage = null, ?AuthorizationCheckerInterface $authorizationChecker = null)
{
$this->loggableListener = $loggableListener;
$this->tokenStorage = $tokenStorage;
Expand Down

0 comments on commit bf00701

Please sign in to comment.