actuel-inactuel/.php-cs-fixer.dist.php
2024-04-09 07:24:32 +02:00

18 lines
418 B
PHP

<?php
// define which files should be analyzed
$finder = PhpCsFixer\Finder::create()
->exclude(__DIR__ . '/site/plugins')
->in(__DIR__ . '/site')
;
$config = new PhpCsFixer\Config();
return $config
->setRules(array(
'@PSR12' => true,
'array_syntax' => array('syntax' => 'long'),
'method_chaining_indentation' => true,
))
->setRiskyAllowed(true)
->setFinder($finder)
;