diff --git a/composer.json b/composer.json index de4875e..1026dbf 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ }, "require-dev": { "atoum/atoum": "^3.4 || ^4.0", - "m6web/php-cs-fixer-config": "^2.0", - "phpstan/phpstan": "^1.3", + "m6web/php-cs-fixer-config": "2.1.0", + "phpstan/phpstan": "1.4.10", "symfony/console": "^4.4 || ^5.0 || ^6.0", "symfony/http-foundation": "^4.4 || ^5.0 || ^6.0" }, diff --git a/src/Client/Client.php b/src/Client/Client.php index 7426db7..4dccb95 100644 --- a/src/Client/Client.php +++ b/src/Client/Client.php @@ -76,9 +76,9 @@ public function setPropertyAccessor(PropertyAccessorInterface $propertyAccessor) * @param Event $event an event * @param string $name the event name * - * @throws Exception - * * @return void + * + * @throws Exception */ public function handleEvent($event, $name = null) { diff --git a/src/DependencyInjection/M6WebStatsdExtension.php b/src/DependencyInjection/M6WebStatsdExtension.php index ff21121..62dfeaf 100644 --- a/src/DependencyInjection/M6WebStatsdExtension.php +++ b/src/DependencyInjection/M6WebStatsdExtension.php @@ -101,9 +101,9 @@ public function load(array $configs, ContainerBuilder $container) * @param array $servers List of available servers as describe in the config file * @param bool $baseEvents Register base events * - * @throws InvalidConfigurationException - * * @return string the service name + * + * @throws InvalidConfigurationException */ protected function loadClient($container, $alias, array $config, array $servers, $baseEvents) { diff --git a/src/Tests/Units/DependencyInjection/M6WebStatsdExtension.php b/src/Tests/Units/DependencyInjection/M6WebStatsdExtension.php index 45279b7..5b80614 100644 --- a/src/Tests/Units/DependencyInjection/M6WebStatsdExtension.php +++ b/src/Tests/Units/DependencyInjection/M6WebStatsdExtension.php @@ -35,9 +35,6 @@ protected function initContainer($resource, $debug = false) $this->container->compile(); } - /** - * @param $resource - */ protected function loadConfiguration(ContainerBuilder $container, $resource) { $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../../Fixtures/'));