-
Reiter, Christoph authored
It's auto generated, so we don't have control over it and fixing it each time is annoying.
Reiter, Christoph authoredIt's auto generated, so we don't have control over it and fixing it each time is annoying.
.php-cs-fixer.dist.php 647 B
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('var')
->notPath('config/bundles.php')
;
$config = new PhpCsFixer\Config();
$config->setRules([
'@Symfony' => true,
'@PHP70Migration' => true,
'@PHP71Migration' => true,
'@PHP73Migration' => true,
'@DoctrineAnnotation' => true,
'doctrine_annotation_array_assignment' => ['operator' => '='],
'yoda_style' => false,
'strict_comparison' => true,
'strict_param' => true,
'declare_strict_types' => true,
'method_argument_space' => ['on_multiline' => 'ignore'],
])
->setRiskyAllowed(true)
->setFinder($finder);
return $config;