Minor - update code style

pull/2459/head
jmontoyaa 8 years ago
parent 971b4d591c
commit 9728674534
  1. 24
      .php_cs.dist

@ -4,24 +4,29 @@ $header = '/* For licensing terms, see /license.txt */';
$rules = [
'@Symfony' => true,
'@Symfony:risky' => true,
//'@Symfony:risky' => true,
'array_syntax' => [
'syntax' => 'short',
],
'header_comment' => [
/*'header_comment' => [
'header' => $header,
],
],*/
'blank_line_after_opening_tag' => false,
'no_extra_consecutive_blank_lines' => true,
'no_php4_constructor' => true,
'multiline_comment_opening_closing' => true,
'yoda_style' => false,
'phpdoc_to_comment' => false,
'phpdoc_no_package' => false,
//'no_php4_constructor' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
'no_break_comment' => true,
'@PHP56Migration' => true,
'@PHP56Migration:risky' => true,
'@PHPUnit57Migration:risky' => true,
//'@PHP56Migration' => true,
//'@PHP56Migration:risky' => true,
//'@PHPUnit57Migration:risky' => true,
// To be tested before insertion:
// 'strict_comparison' => true,
// 'strict_param' => true,
@ -82,9 +87,6 @@ $finder = PhpCsFixer\Finder::create()
return PhpCsFixer\Config::create()
->setRules(
[
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short']
]
$rules
)
->setFinder($finder);
Loading…
Cancel
Save