mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-10-09 12:44:07 +00:00
fix(lint): make ci happy
This commit is contained in:
parent
dcd0d0b66e
commit
0d931e270b
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -9,4 +9,4 @@ jobs:
|
||||
- name: PHP-CS-Fixer
|
||||
uses: docker://oskarstark/php-cs-fixer-ga
|
||||
with:
|
||||
args: --config=./web/.php_cs --diff --dry-run
|
||||
args: --config=./web/.php-cs-fixer.php --diff --dry-run
|
||||
|
@ -5,7 +5,8 @@ $finder = PhpCsFixer\Finder::create()
|
||||
->in(__DIR__)
|
||||
;
|
||||
|
||||
return PhpCsFixer\Config::create()
|
||||
$config = new PhpCsFixer\Config();
|
||||
return $config
|
||||
->setIndent("\t")
|
||||
->setRules([
|
||||
'braces'=>[
|
Loading…
Reference in New Issue
Block a user