Skip to content

Commit

Permalink
Merge pull request #2 from hyperf-ext/master
Browse files Browse the repository at this point in the history
support for hyperf 2.2
  • Loading branch information
myadream authored Jul 31, 2021
2 parents 6cf9b8b + 9a0a334 commit 35ce4db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .php_cs → .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
@license https://github.com/hyperf-ext/hashing/blob/master/LICENSE
EOF;

return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'@Symfony' => true,
'@DoctrineAnnotation' => true,
'@PhpCsFixer' => true,
'header_comment' => [
'commentType' => 'PHPDoc',
'comment_type' => 'PHPDoc',
'header' => $header,
'separate' => 'none',
'location' => 'after_declare_strict',
Expand Down

0 comments on commit 35ce4db

Please sign in to comment.