Skip to content

Commit

Permalink
Merge pull request #107 from cedric-anne/feature/php-8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge authored Sep 4, 2024
2 parents 221867a + 0ea4e75 commit ec38ff7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/quality-assurance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ jobs:
- php: '8.0'
composer-flags: '--ignore-platform-req=php'
phpunit-flags: '--no-coverage'
- php: '8.1'
composer-flags: '--ignore-platform-req=php'
phpunit-flags: '--no-coverage'
- php: '8.2'
composer-flags: '--ignore-platform-req=php'
phpunit-flags: '--no-coverage'
- php: '8.3'
composer-flags: '--ignore-platform-req=php'
phpunit-flags: '--no-coverage'
- php: '8.4'
composer-flags: '--ignore-platform-req=php'
phpunit-flags: '--no-coverage'
- php: '7.2'
composer-flags: '--prefer-lowest'
phpunit-flags: '--no-coverage'
Expand Down
2 changes: 1 addition & 1 deletion src/EventDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class EventDispatcher implements EventDispatchingListenerRegistry
*/
protected $listenerProvider;

public function __construct(ListenerProviderInterface $listenerProvider = null)
public function __construct(?ListenerProviderInterface $listenerProvider = null)
{
$this->listenerProvider = $listenerProvider instanceof ListenerProviderInterface
? $listenerProvider
Expand Down

0 comments on commit ec38ff7

Please sign in to comment.