Skip to content

Commit

Permalink
Update default PHP rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jan 24, 2022
1 parent 6edfd3a commit baeddaf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/php/phpcsfixer.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ parameters:
const: one
method: one
property: one
trait_import: one
class_definition:
multi_line_extends_each_single_line: true
class_keyword_remove: false
combine_consecutive_issets: true
combine_consecutive_unsets: true
combine_nested_dirname: false
Expand Down Expand Up @@ -161,7 +161,6 @@ parameters:
- square_brace_block
- switch
- throw
- use_trait
no_homoglyph_names: true
no_leading_namespace_whitespace: true
no_mixed_echo_print:
Expand Down Expand Up @@ -235,14 +234,14 @@ parameters:
- function
- const
sort_algorithm: alpha
ordered_interfaces: true
ordered_interfaces: false
php_unit_construct:
assertions:
- assertSame
- assertEquals
- assertNotEquals
- assertNotSame
php_unit_dedicate_assert: true
php_unit_dedicate_assert: false
php_unit_dedicate_assert_internal_type: false
php_unit_expectation:
target: newest
Expand Down

0 comments on commit baeddaf

Please sign in to comment.