cs: Enable more risky rules.

This commit is contained in:
Pol Dellaiera
2021-11-30 12:27:49 +01:00
parent 733bee06a8
commit 28d2c42454
34 changed files with 45 additions and 45 deletions

View File

@@ -44,7 +44,7 @@ use function uniqid;
/**
* Render a list of people.
*/
class ListPerson implements ListInterface, ExportElementValidatedInterface
class ListPerson implements ExportElementValidatedInterface, ListInterface
{
protected CustomFieldProvider $customFieldProvider;

View File

@@ -16,7 +16,7 @@ use Doctrine\ORM\Query\Expr;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Validator\Context\ExecutionContextInterface;
class BirthdateFilter implements FilterInterface, ExportElementValidatedInterface
class BirthdateFilter implements ExportElementValidatedInterface, FilterInterface
{
public function addRole()
{

View File

@@ -25,8 +25,8 @@ use function in_array;
use function is_array;
class GenderFilter implements
FilterInterface,
ExportElementValidatedInterface
ExportElementValidatedInterface,
FilterInterface
{
/**
* @var TranslatorInterface

View File

@@ -20,8 +20,8 @@ use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Validator\Context\ExecutionContextInterface;
class NationalityFilter implements
FilterInterface,
ExportElementValidatedInterface
ExportElementValidatedInterface,
FilterInterface
{
/**
* @var TranslatableStringHelper