Skip to content

Commit

Permalink
Symfony 6 support (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
toooni committed Aug 24, 2023
1 parent 486573d commit d359cf2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Tests/Services/Fixtures/MySubscriber.php
Expand Up @@ -26,7 +26,7 @@ public function __construct(LifecycleEventsDispatcher $dispatcher, $annotation,
/**
* @inheritdoc
*/
public static function getSubscribedEvents()
public static function getSubscribedEvents(): array
{
return [
LifecycleEvents::CREATED => 'onCalled',
Expand All @@ -45,4 +45,4 @@ public function onCalled()
$this->dispatcher->dispatchEvents();
}
}
}
}
12 changes: 6 additions & 6 deletions composer.json
Expand Up @@ -13,13 +13,13 @@
],
"require": {
"php": ">=7.4|>=8.0",
"symfony/http-kernel": "^4.4|^5.0",
"symfony/config": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/yaml": "^4.4|^5.0",
"symfony/event-dispatcher": "^4.4|^5.0",
"symfony/http-kernel": "^4.4|^5.0|^6.0",
"symfony/config": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/yaml": "^4.4|^5.0|^6.0",
"symfony/event-dispatcher": "^4.4|^5.0|^6.0",
"doctrine/orm": "^2.0",
"doctrine/persistence": "^1.3|^2.0",
"doctrine/persistence": "^1.3|^2.0|^3.0",
"doctrine/annotations": "^1.13"
},
"require-dev": {
Expand Down

0 comments on commit d359cf2

Please sign in to comment.