diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index c51474e..2393b5a 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -20,7 +20,7 @@ 'strict_param' => false, 'array_syntax' => ['syntax' => 'short'], 'concat_space' => ['spacing' => 'one'], - 'phpdoc_align' => [], + 'phpdoc_align' => ['align' => 'left'], 'phpdoc_summary' => false, 'void_return' => false, 'phpdoc_var_without_name' => false, diff --git a/composer.json b/composer.json index 17607d9..252d8d1 100644 --- a/composer.json +++ b/composer.json @@ -6,18 +6,18 @@ "require": { "php": "~8.1", "ext-amqp": "*", - "symfony/amqp-messenger": "^6.0", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/messenger": "^6.0" + "symfony/amqp-messenger": "^6.0|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/messenger": "^6.0|^7.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.4", - "phpro/grumphp": "^1.5.0", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-webmozart-assert": "^1.0", - "phpunit/phpunit": "^9.5.28", + "friendsofphp/php-cs-fixer": "^3.63", + "phpro/grumphp": "^2.6", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-webmozart-assert": "^1.2", + "phpunit/phpunit": "^10.5", "roave/security-advisories": "dev-master", - "symfony/phpunit-bridge": "6.1.*" + "symfony/phpunit-bridge": "7.1.*" }, "autoload": { "psr-4": { diff --git a/src/EventSubscriber/HeartbeatEventSubscriber.php b/src/EventSubscriber/HeartbeatEventSubscriber.php index 30f582a..556861e 100644 --- a/src/EventSubscriber/HeartbeatEventSubscriber.php +++ b/src/EventSubscriber/HeartbeatEventSubscriber.php @@ -16,9 +16,6 @@ public function __construct( ) { } - /** - * {@inheritdoc} - */ public static function getSubscribedEvents(): array { return [