mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 19:38:40 +00:00
18 lines
290 B
PHP
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)
|
|
; |