Skip to content

Commit

Permalink
fix(lint): make ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
billchenchina committed Sep 9, 2021
1 parent dcd0d0b commit 0d931e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -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
3 changes: 2 additions & 1 deletion web/.php_cs → web/.php-cs-fixer.php
Expand Up @@ -5,7 +5,8 @@
->in(__DIR__)
;

return PhpCsFixer\Config::create()
$config = new PhpCsFixer\Config();
return $config
->setIndent("\t")
->setRules([
'braces'=>[
Expand Down

0 comments on commit 0d931e2

Please sign in to comment.