diff --git a/src/RuleSet/Sets/Laravel.php b/src/RuleSet/Sets/Laravel.php index 07c744b..c0876c9 100644 --- a/src/RuleSet/Sets/Laravel.php +++ b/src/RuleSet/Sets/Laravel.php @@ -5,7 +5,7 @@ use Realodix\Relax\RuleSet\AbstractRuleSet; /** - * Latest commit 72f3117 + * Latest commit 6ef7e3c * https://github.com/laravel/pint/blob/main/resources/presets/laravel.php */ final class Laravel extends AbstractRuleSet @@ -124,6 +124,7 @@ public function rules(): array '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' => ['param' => 2]], 'phpdoc_indent' => true, 'phpdoc_inline_tag_normalizer' => true, diff --git a/src/RuleSet/Sets/Relax.php b/src/RuleSet/Sets/Relax.php index 3b2f7aa..0142ff7 100644 --- a/src/RuleSet/Sets/Relax.php +++ b/src/RuleSet/Sets/Relax.php @@ -58,6 +58,7 @@ public function mainRules(): array */ 'not_operator_with_successor_space' => false, 'php_unit_method_casing' => false, + 'php_unit_set_up_tear_down_visibility' => false, 'phpdoc_tag_type' => false, 'binary_operator_spaces' => [ 'default' => 'single_space',