File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 5
5
use Realodix \Relax \RuleSet \AbstractRuleSet ;
6
6
7
7
/**
8
- * Latest commit 72f3117
8
+ * Latest commit 6ef7e3c
9
9
* https://github.com/laravel/pint/blob/main/resources/presets/laravel.php
10
10
*/
11
11
final class Laravel extends AbstractRuleSet
@@ -124,6 +124,7 @@ public function rules(): array
124
124
'ordered_interfaces ' => true ,
125
125
'ordered_traits ' => true ,
126
126
'php_unit_method_casing ' => ['case ' => 'snake_case ' ],
127
+ 'php_unit_set_up_tear_down_visibility ' => true ,
127
128
'phpdoc_align ' => ['align ' => 'left ' , 'spacing ' => ['param ' => 2 ]],
128
129
'phpdoc_indent ' => true ,
129
130
'phpdoc_inline_tag_normalizer ' => true ,
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public function mainRules(): array
58
58
*/
59
59
'not_operator_with_successor_space ' => false ,
60
60
'php_unit_method_casing ' => false ,
61
+ 'php_unit_set_up_tear_down_visibility ' => false ,
61
62
'phpdoc_tag_type ' => false ,
62
63
'binary_operator_spaces ' => [
63
64
'default ' => 'single_space ' ,
You can’t perform that action at this time.
0 commit comments