Skip to content

Commit

Permalink
Laravel: Enforce snake_case methods for PHPUnit method
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Nov 21, 2024
1 parent 92a78a2 commit 8fe5dd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/RuleSet/Sets/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public function rules(): array
],
'ordered_interfaces' => true,
'ordered_traits' => true,
'php_unit_method_casing' => ['case' => 'snake_case'],
'phpdoc_align' => ['align' => 'left', 'spacing' => ['param' => 2]],
'phpdoc_indent' => true,
'phpdoc_inline_tag_normalizer' => true,
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Sets/Relax.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function mainRules(): array
* Laravel rules adjustment
*/
'not_operator_with_successor_space' => false,
'php_unit_method_casing' => false,
'phpdoc_tag_type' => false,
'binary_operator_spaces' => [
'default' => 'single_space',
Expand Down

0 comments on commit 8fe5dd6

Please sign in to comment.