Skip to content

Commit 72a43b4

Browse files
committed
Require using PHPUnit attributes
1 parent e6188df commit 72a43b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.php-cs-fixer-rules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
'method',
7979
]
8080
],*/
81+
'php_unit_attributes' => true,
8182
'php_unit_construct' => true,
8283
'php_unit_dedicate_assert' => ['target' => 'newest'],
8384
'php_unit_expectation' => true,
@@ -87,7 +88,6 @@
8788
'php_unit_set_up_tear_down_visibility' => true,
8889
'php_unit_strict' => true,
8990
'php_unit_test_annotation' => ['style' => 'annotation'],
90-
'php_unit_test_class_requires_covers' => true,
9191
'phpdoc_align' => ['align' => 'left'],
9292
'phpdoc_array_type' => true,
9393
'phpdoc_indent' => true,

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
},
1212
"require-dev": {
1313
"phpunit/phpunit": "^10.5",
14-
"vimeo/psalm": "^5.22"
14+
"vimeo/psalm": "^5.22",
15+
"friendsofphp/php-cs-fixer": "^3.54"
1516
},
1617
"minimum-stability": "dev",
1718
"prefer-stable": true,

0 commit comments

Comments
 (0)