Skip to content

Commit

Permalink
DevKit updates (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI authored Oct 10, 2020
1 parent b087b4b commit cb56155
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,26 @@ file that was distributed with this source code.
HEADER;

$rules = [
'@PHP56Migration' => true,
'@PHP56Migration:risky' => true,
'@PHP70Migration' => true,
'@PHP70Migration:risky' => true,
'@PHP71Migration' => true,
'@PHP71Migration:risky' => true,
'@PHPUnit57Migration:risky' => true,
'@PHPUnit60Migration:risky' => true,
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => [
'syntax' => 'short',
],
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
'compact_nullable_typehint' => true,
'header_comment' => [
'header' => $header,
],
'list_syntax' => ['syntax' => 'short'],
'logical_operators' => true,
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
'no_extra_blank_lines' => true,
Expand All @@ -37,22 +47,13 @@ $rules = [
'ordered_class_elements' => true,
'ordered_imports' => true,
'php_unit_set_up_tear_down_visibility' => true,
'php_unit_strict' => true,
'phpdoc_order' => true,
'@PHP56Migration' => true,
'@PHP56Migration:risky' => true,
'@PHPUnit57Migration:risky' => true,
'single_line_throw' => false,
'@PHP70Migration' => true,
'@PHP70Migration:risky' => true,
'@PHPUnit60Migration:risky' => true,
'@PHP71Migration' => true,
'@PHP71Migration:risky' => true,
'compact_nullable_typehint' => true,
'void_return' => null,
'static_lambda' => true,
'strict_comparison' => true,
'strict_param' => true,
'php_unit_strict' => true,
'void_return' => null,
];


Expand Down

0 comments on commit cb56155

Please sign in to comment.