S2OJ/web/.php-cs-fixer.php

18 lines
290 B
PHP
Raw Permalink Normal View History

2020-06-25 12:47:22 +00:00
<?php
$finder = PhpCsFixer\Finder::create()
->exclude('vendor')
->in(__DIR__)
;
2021-09-09 16:10:10 +00:00
$config = new PhpCsFixer\Config();
return $config
2020-06-25 12:47:22 +00:00
->setIndent("\t")
->setRules([
'braces'=>[
'position_after_functions_and_oop_constructs'=>'same'
],
'elseif' => true
])
->setFinder($finder)
;