actuel-inactuel/.php-cs-fixer.dist.php

19 lines
418 B
PHP
Raw Normal View History

2024-04-09 07:24:22 +02:00
<?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)
;