Skip to content

Commit

Permalink
Merge pull request #40 from nextcloud/enh/operator_linebreak
Browse files Browse the repository at this point in the history
style: add operator_linebreak
  • Loading branch information
nickvergessen authored Nov 6, 2024
2 parents 9c719c4 + abad0dc commit 7b16bcf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ public function getRules() : array {
'no_unused_imports' => true,
'nullable_type_declaration_for_default_null_value' => true,
'nullable_type_declaration' => ['syntax' => 'question_mark'],
'operator_linebreak' => [
'position' => 'beginning',
],
'ordered_imports' => [
'imports_order' => ['class', 'function', 'const'],
'sort_algorithm' => 'alpha'
Expand Down

0 comments on commit 7b16bcf

Please sign in to comment.