From 72e69c0b7095597f0266178f639d89e3736f93a4 Mon Sep 17 00:00:00 2001 From: Oskar Pfeifer-Bley Date: Fri, 23 Mar 2018 07:49:18 +0100 Subject: [PATCH] Add missing covers annotations --- test/BundleTest.php | 1 + test/DependencyInjection/XmlServiceBusExtensionTest.php | 7 +++++++ test/DependencyInjection/YamlServiceBusExtensionTest.php | 7 +++++++ test/Plugin/DataCollectorPluginTest.php | 4 +--- test/Plugin/DataCollectorTest.php | 4 +--- test/Plugin/StopwatchPluginTest.php | 1 + 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/test/BundleTest.php b/test/BundleTest.php index 31f87e1..7b4a871 100644 --- a/test/BundleTest.php +++ b/test/BundleTest.php @@ -18,6 +18,7 @@ use Symfony\Component\DependencyInjection\Compiler\PassConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; +/** @covers \Prooph\Bundle\ServiceBus\ProophServiceBusBundle */ class BundleTest extends TestCase { /** diff --git a/test/DependencyInjection/XmlServiceBusExtensionTest.php b/test/DependencyInjection/XmlServiceBusExtensionTest.php index 306d42d..2746884 100644 --- a/test/DependencyInjection/XmlServiceBusExtensionTest.php +++ b/test/DependencyInjection/XmlServiceBusExtensionTest.php @@ -15,6 +15,13 @@ use Symfony\Component\DependencyInjection\ContainerBuilder as SymfonyContainerBuilder; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; +/** + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Configuration + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\ProophServiceBusExtension + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\PluginsPass + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\RoutePass + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\StopwatchPass + */ class XmlServiceBusExtensionTest extends AbstractServiceBusExtensionTestCase { protected function buildContainer(): ContainerBuilder diff --git a/test/DependencyInjection/YamlServiceBusExtensionTest.php b/test/DependencyInjection/YamlServiceBusExtensionTest.php index 9df6fde..3e038ec 100644 --- a/test/DependencyInjection/YamlServiceBusExtensionTest.php +++ b/test/DependencyInjection/YamlServiceBusExtensionTest.php @@ -15,6 +15,13 @@ use Symfony\Component\DependencyInjection\ContainerBuilder as SymfonyContainerBuilder; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; +/** + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Configuration + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\ProophServiceBusExtension + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\PluginsPass + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\RoutePass + * @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\StopwatchPass + */ class YamlServiceBusExtensionTest extends AbstractServiceBusExtensionTestCase { protected function buildContainer(): ContainerBuilder diff --git a/test/Plugin/DataCollectorPluginTest.php b/test/Plugin/DataCollectorPluginTest.php index 2666e42..7c733d3 100644 --- a/test/Plugin/DataCollectorPluginTest.php +++ b/test/Plugin/DataCollectorPluginTest.php @@ -17,9 +17,7 @@ use Prooph\ServiceBus\QueryBus; use ProophTest\Bundle\ServiceBus\DependencyInjection\Fixture\Model\AcmeRegisterUserCommand; -/** - * @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollectorPlugin - */ +/** @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollectorPlugin */ class DataCollectorPluginTest extends TestCase { /** @test */ diff --git a/test/Plugin/DataCollectorTest.php b/test/Plugin/DataCollectorTest.php index 99f247e..689e132 100644 --- a/test/Plugin/DataCollectorTest.php +++ b/test/Plugin/DataCollectorTest.php @@ -12,9 +12,7 @@ use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -/** - * @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollector - */ +/** @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollector */ class DataCollectorTest extends TestCase { /** @test */ diff --git a/test/Plugin/StopwatchPluginTest.php b/test/Plugin/StopwatchPluginTest.php index c7c2cbe..0609a90 100644 --- a/test/Plugin/StopwatchPluginTest.php +++ b/test/Plugin/StopwatchPluginTest.php @@ -14,6 +14,7 @@ use Prooph\ServiceBus\MessageBus; use Symfony\Component\Stopwatch\Stopwatch; +/** @covers \Prooph\Bundle\ServiceBus\Plugin\StopwatchPlugin */ class StopwatchPluginTest extends TestCase { /** @test */