S2OJ/web/.php-cs-fixer.php
2021-09-10 00:18:21 +08:00

18 lines
290 B
PHP

<?php
$finder = PhpCsFixer\Finder::create()
->exclude('vendor')
->in(__DIR__)
;
$config = new PhpCsFixer\Config();
return $config
->setIndent("\t")
->setRules([
'braces'=>[
'position_after_functions_and_oop_constructs'=>'same'
],
'elseif' => true
])
->setFinder($finder)
;