Skip to content

Commit

Permalink
fix(rules): Replace deprecated braces rules
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
  • Loading branch information
nickvergessen authored Apr 13, 2023
1 parent 88d3ffd commit d6aa4cd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ public function getRules() : array {
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
'braces' => [
'position_after_anonymous_constructs' => 'same',
'position_after_control_structures' => 'same',
'position_after_functions_and_oop_constructs' => 'same',
'curly_braces_position' => [
'classes_opening_brace' => 'same_line',
'functions_opening_brace' => 'same_line',
],
'elseif' => true,
'encoding' => true,
Expand Down

0 comments on commit d6aa4cd

Please sign in to comment.