mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 08:58:41 +00:00
17 lines
275 B
Plaintext
17 lines
275 B
Plaintext
|
<?php
|
||
|
|
||
|
$finder = PhpCsFixer\Finder::create()
|
||
|
->exclude('vendor')
|
||
|
->in(__DIR__)
|
||
|
;
|
||
|
|
||
|
return PhpCsFixer\Config::create()
|
||
|
->setIndent("\t")
|
||
|
->setRules([
|
||
|
'braces'=>[
|
||
|
'position_after_functions_and_oop_constructs'=>'same'
|
||
|
],
|
||
|
'elseif' => true
|
||
|
])
|
||
|
->setFinder($finder)
|
||
|
;
|