[TESTS] Ignore GNUsocial class from tests, as it simply pipes objects around

This commit is contained in:
Hugo Sales 2021-07-21 16:43:05 +00:00
parent 2c74bd7fb4
commit b0ef7599b2
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -71,6 +71,9 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
use Symfony\Contracts\Translation\TranslatorInterface; use Symfony\Contracts\Translation\TranslatorInterface;
use Twig\Environment; use Twig\Environment;
/**
* @codeCoverageIgnore
*/
class GNUsocial implements EventSubscriberInterface class GNUsocial implements EventSubscriberInterface
{ {
use TargetPathTrait; use TargetPathTrait;
@ -195,7 +198,6 @@ class GNUsocial implements EventSubscriberInterface
* @throws ConfigurationException * @throws ConfigurationException
* *
* @return ConsoleCommandEvent * @return ConsoleCommandEvent
* @codeCoverageIgnore
*/ */
public function onCommand(ConsoleCommandEvent $event): ConsoleCommandEvent 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 * Tell Symfony which events we want to listen to, which Symfony detects and auto-wires
* due to this implementing the `EventSubscriberInterface` * due to this implementing the `EventSubscriberInterface`
* *
* @codeCoverageIgnore
*/ */
public static function getSubscribedEvents(): array public static function getSubscribedEvents(): array
{ {