mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-22 14:21:52 +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)
|
|
; |