mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:48:41 +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
|
- name: PHP-CS-Fixer
|
||||||
uses: docker://oskarstark/php-cs-fixer-ga
|
uses: docker://oskarstark/php-cs-fixer-ga
|
||||||
with:
|
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__)
|
->in(__DIR__)
|
||||||
;
|
;
|
||||||
|
|
||||||
return PhpCsFixer\Config::create()
|
$config = new PhpCsFixer\Config();
|
||||||
|
return $config
|
||||||
->setIndent("\t")
|
->setIndent("\t")
|
||||||
->setRules([
|
->setRules([
|
||||||
'braces'=>[
|
'braces'=>[
|
Loading…
Reference in New Issue
Block a user