sintonia/legacy/.php-cs-fixer.php

18 lines
515 B
PHP
Raw Normal View History

<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->notPath('application/configs/conf.php')
->exclude('application/models/airtime/map')
->exclude('application/models/airtime/om');
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PhpCsFixer' => true,
'concat_space' => ['spacing' => 'one'],
'multiline_whitespace_before_semicolons' => ['strategy' => 'no_multi_line'],
'ordered_class_elements' => false,
'yoda_style' => false,
])
->setFinder($finder);