Skip to content

Commit

Permalink
[update] Update php-cs-fixer config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelaon committed Jun 9, 2023
1 parent 802251e commit d396003
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .php_cs.dist → .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
$config = new PhpCsFixer\Config();

return PhpCsFixer\Config::create()
$config
->setRules([
'@PSR2' => true,
'@PSR12' => true,
Expand All @@ -11,4 +12,6 @@
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
)
;
;

return $config;

0 comments on commit d396003

Please sign in to comment.