Skip to content

Commit

Permalink
Enforce visibility for PHPUnit setUp and tearDown methods. (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored Oct 18, 2024
1 parent 0f732e0 commit 6ef7e3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/presets/laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
'ordered_interfaces' => true,
'ordered_traits' => true,
'php_unit_method_casing' => ['case' => 'snake_case'],
'php_unit_set_up_tear_down_visibility' => true,
'phpdoc_align' => [
'align' => 'left',
'spacing' => [
Expand Down

0 comments on commit 6ef7e3c

Please sign in to comment.