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

@@ -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
{
// add specific role for this filter
public function addRole()

View File

@@ -27,7 +27,7 @@ namespace Chill\MainBundle\DependencyInjection;
private $containerBuilder;
public function __construct(
array $widgetFactories = [],
array $widgetFactories,
ContainerBuilder $containerBuilder
) {
// we register here widget factories (see below)