diff --git a/composer.json b/composer.json index 26d8247..7d52ef2 100644 --- a/composer.json +++ b/composer.json @@ -7,18 +7,18 @@ ], "require": { "php": " >=8.3", - "ibexa/core": "~5.0.x-dev", - "symfony/config": "^5.4", - "symfony/dependency-injection": "^5.4", - "symfony/event-dispatcher": "^5.4", - "symfony/http-foundation": "^5.4", - "symfony/http-kernel": "^5.4", - "symfony/notifier": "^5.4", - "symfony/yaml": "^5.4" + "ibexa/core": "dev-ibx-8470-symfony-6 as 5.0.x-dev", + "symfony/config": "^6.4", + "symfony/dependency-injection": "^6.4", + "symfony/event-dispatcher": "^6.4", + "symfony/http-foundation": "^6.4", + "symfony/http-kernel": "^6.4", + "symfony/notifier": "^6.4", + "symfony/yaml": "^6.4" }, "require-dev": { "ibexa/code-style": "~2.0.0", - "ibexa/doctrine-schema": "~5.0.x-dev", + "ibexa/doctrine-schema": "dev-ibx-8470-symfony-6 as 5.0.x-dev", "phpstan/phpstan": "^1.10", "phpstan/phpstan-phpunit": "^1.3", "phpstan/phpstan-symfony": "^1.3", diff --git a/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php b/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php index 6ade1dd..c48e836 100644 --- a/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php +++ b/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php @@ -14,7 +14,8 @@ final class NotificationsConfigParser extends AbstractParser { - public const MAPPED_SETTINGS = ['subscriptions']; + /** @phpstan-var list */ + public const array MAPPED_SETTINGS = ['subscriptions']; public function addSemanticConfig(NodeBuilder $nodeBuilder): void { diff --git a/src/bundle/DependencyInjection/IbexaNotificationsExtension.php b/src/bundle/DependencyInjection/IbexaNotificationsExtension.php index e854c14..a681aa5 100644 --- a/src/bundle/DependencyInjection/IbexaNotificationsExtension.php +++ b/src/bundle/DependencyInjection/IbexaNotificationsExtension.php @@ -20,6 +20,8 @@ final class IbexaNotificationsExtension extends Extension implements PrependExte { /** * @param array $configs + * + * @throws \Exception */ public function load(array $configs, ContainerBuilder $container): void {