mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -24,6 +24,11 @@ use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException;
|
||||
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
|
||||
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
|
||||
use UnexpectedValueException;
|
||||
use function array_key_exists;
|
||||
use function count;
|
||||
use function get_class;
|
||||
use function gettype;
|
||||
use function in_array;
|
||||
|
||||
/**
|
||||
* Collects all agregators, filters and export from
|
||||
@@ -192,7 +197,7 @@ class ExportManager
|
||||
} elseif ($element instanceof FormatterInterface) {
|
||||
$this->addFormatter($element, $alias);
|
||||
} else {
|
||||
throw new LogicException('This element ' . \get_class($element) . ' '
|
||||
throw new LogicException('This element ' . get_class($element) . ' '
|
||||
. 'is not an instance of export element');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user