Skip to content

Commit

Permalink
Fix formatting for .php_cs.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Dec 11, 2020
1 parent e5bb4f3 commit 3d0d8a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ EOF;

return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'header_comment' => ['commentType' => 'PHPDoc', 'header' => $header, 'separate' => 'bottom', 'location' => 'after_open'],
->setRules(array(
'header_comment' => array('commentType' => 'PHPDoc', 'header' => $header, 'separate' => 'bottom', 'location' => 'after_open'),

'@Symfony' => true,
'@Symfony:risky' => true,
Expand All @@ -53,13 +53,13 @@ return PhpCsFixer\Config::create()
'php_unit_test_case_static_method_calls' => false,
'yoda_style' => true,

'array_syntax' => ['syntax' => 'long'],
'array_syntax' => array('syntax' => 'long'),
'void_return' => null,
'declare_strict_types' => false,
])
))
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->append([__FILE__])
->append(array(__FILE__))
)
;

0 comments on commit 3d0d8a6

Please sign in to comment.