Skip to content

Commit

Permalink
chore: remove @test annotation rule causing deprecation notices in ph…
Browse files Browse the repository at this point in the history
…punit
  • Loading branch information
patoui committed Nov 29, 2024
1 parent 221da60 commit 0d07f0e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
1 change: 0 additions & 1 deletion duster.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"exclude": [
"**tests/Feature**",
"tests/TestCase.php"
]
}
42 changes: 42 additions & 0 deletions pint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"preset": "laravel",
"rules": {
"blank_line_between_import_groups": true,
"concat_space": {
"spacing": "one"
},
"class_attributes_separation": {
"elements": {
"method": "one"
}
},
"curly_braces_position": {
"control_structures_opening_brace": "same_line",
"functions_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_functions_opening_brace": "same_line",
"classes_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_classes_opening_brace": "next_line_unless_newline_at_signature_end",
"allow_single_line_empty_anonymous_classes": true,
"allow_single_line_anonymous_functions": false
},
"explicit_string_variable": true,
"global_namespace_import": {
"import_classes": true,
"import_constants": true,
"import_functions": true
},
"new_with_braces": {
"named_class": false,
"anonymous_class": false
},
"ordered_imports": {
"sort_algorithm": "alpha",
"imports_order": [
"const",
"class",
"function"
]
},
"simple_to_complex_string_variable": true
}
}

0 comments on commit 0d07f0e

Please sign in to comment.