Skip to content

Commit

Permalink
Merge pull request #1076 from localheinz/fix/php-cs-fixer
Browse files Browse the repository at this point in the history
Enhancement: Update friendsofphp/php-cs-fixer
  • Loading branch information
chartjes committed Jan 10, 2018
2 parents 8dd6708 + c507500 commit 31364b4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,18 @@ return PhpCsFixer\Config::create()
'header' => $header,
],
'increment_style' => true,
'is_null' => [
'use_yoda_style' => false,
],
'is_null' => true,
'method_separation' => true,
'multiline_whitespace_before_semicolons' => [
'strategy' => 'no_multi_line',
],
'native_function_invocation' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_blank_lines_after_class_opening' => true,
'no_blank_lines_after_phpdoc' => true,
'no_empty_phpdoc' => true,
'no_extra_consecutive_blank_lines' => [
'no_extra_blank_lines' => [
'tokens' => [
'break',
'case',
Expand All @@ -101,7 +102,6 @@ return PhpCsFixer\Config::create()
],
],
'no_multiline_whitespace_around_double_arrow' => true,
'no_multiline_whitespace_before_semicolons' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_superfluous_elseif' => true,
'no_trailing_comma_in_singleline_array' => true,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"require-dev": {
"codedungeon/phpunit-result-printer": "^0.4.2",
"friendsofphp/php-cs-fixer": "^2.9.0",
"friendsofphp/php-cs-fixer": "^2.10.0",
"fzaninotto/faker": "^1.5.0",
"infection/infection": "^0.7.0",
"localheinz/test-util": "0.6.0",
Expand Down
24 changes: 16 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31364b4

Please sign in to comment.