From f98ce1c3d0346701bd4e1c834a917050ae4802a6 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Wed, 21 Jul 2021 16:43:05 +0000 Subject: [PATCH] [TESTS] Ignore GNUsocial class from tests, as it simply pipes objects around --- src/Core/GNUsocial.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Core/GNUsocial.php b/src/Core/GNUsocial.php index b14c301192..261d1c6ae7 100644 --- a/src/Core/GNUsocial.php +++ b/src/Core/GNUsocial.php @@ -71,6 +71,9 @@ use Symfony\Contracts\HttpClient\HttpClientInterface; use Symfony\Contracts\Translation\TranslatorInterface; use Twig\Environment; +/** + * @codeCoverageIgnore + */ class GNUsocial implements EventSubscriberInterface { use TargetPathTrait; @@ -195,7 +198,6 @@ class GNUsocial implements EventSubscriberInterface * @throws ConfigurationException * * @return ConsoleCommandEvent - * @codeCoverageIgnore */ public function onCommand(ConsoleCommandEvent $event): ConsoleCommandEvent { @@ -207,7 +209,6 @@ class GNUsocial implements EventSubscriberInterface * Tell Symfony which events we want to listen to, which Symfony detects and auto-wires * due to this implementing the `EventSubscriberInterface` * - * @codeCoverageIgnore */ public static function getSubscribedEvents(): array {