Skip to content

Commit

Permalink
fix QA report #193
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Oct 6, 2023
1 parent 2b81a7b commit 8118038
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .changes/unreleased/Fixed-20231006-073806.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
kind: Fixed
body: '[#193](https://github.com/overtrue/phplint/issues/193) : PHP CS Fixer deprecated
rules'
time: 2023-10-06T07:38:06.955795248Z
11 changes: 7 additions & 4 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,22 @@
'@PSR12' => true,
'header_comment' => ['header' => $header],
'blank_line_after_opening_tag' => true,
'braces' => ['allow_single_line_closure' => true],
'compact_nullable_typehint' => true,
'braces_position' => true,
'compact_nullable_type_declaration' => true,
'concat_space' => ['spacing' => 'one'],
'declare_equal_normalize' => ['space' => 'none'],
'function_typehint_space' => true,
'new_with_braces' => true,
'declare_parentheses' => true,
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
'new_with_parentheses' => true,
'no_empty_statement' => true,
'no_extra_blank_lines' => true,
'no_leading_import_slash' => true,
'no_leading_namespace_whitespace' => true,
'no_whitespace_in_blank_line' => true,
'return_type_declaration' => ['space_before' => 'none'],
'single_space_around_construct' => true,
'single_trait_insert_per_statement' => true,
'type_declaration_spaces' => true,
])
->setFinder(
PhpCsFixer\Finder::create()
Expand Down

0 comments on commit 8118038

Please sign in to comment.