fix(lint): make ci happy

This commit is contained in:
billchenchina 2021-09-10 00:10:10 +08:00
parent dcd0d0b66e
commit 0d931e270b
No known key found for this signature in database
GPG Key ID: 90EAD6E362C2E2D3
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -5,7 +5,8 @@ $finder = PhpCsFixer\Finder::create()
->in(__DIR__)
;
return PhpCsFixer\Config::create()
$config = new PhpCsFixer\Config();
return $config
->setIndent("\t")
->setRules([
'braces'=>[