Skip to content

Commit 4f7b74a

Browse files
committed
Introduce TicketSwapTestingStyle
1 parent 1b5836c commit 4f7b74a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Ticketswap\PhpCsFixerConfig\RuleSet;
6+
7+
use Ticketswap\PhpCsFixerConfig\Fixers;
8+
use Ticketswap\PhpCsFixerConfig\Rules;
9+
use Ticketswap\PhpCsFixerConfig\RuleSet;
10+
11+
final class TicketSwapTestingStyle
12+
{
13+
public static function create() : RuleSet
14+
{
15+
return new RuleSet(
16+
new Fixers(),
17+
'TicketSwap Testing Style',
18+
new Rules([
19+
'php_unit_method_casing' => [
20+
'case' => 'snake_case',
21+
],
22+
'php_unit_test_annotation' => [
23+
'style' => 'annotation',
24+
],
25+
]),
26+
);
27+
}
28+
}

0 commit comments

Comments
 (0)