-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.php-cs-fixer.php
More file actions
21 lines (17 loc) · 615 Bytes
/
.php-cs-fixer.php
File metadata and controls
21 lines (17 loc) · 615 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
declare(strict_types=1);
use PhpCsFixer\Finder;
use Ticketswap\PhpCsFixerConfig\PhpCsFixerConfigFactory;
use Ticketswap\PhpCsFixerConfig\RuleSet\TicketSwapRuleSet;
$finder = Finder::create()
->in(__DIR__ . '/examples')
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
->notPath(['Generated'])
->append([
__DIR__ . '/.php-cs-fixer.php',
__DIR__ . '/bin/graphql-client-code-generator',
__DIR__ . '/composer-dependency-analyser.php',
__DIR__ . '/phpstan.php',
]);
return PhpCsFixerConfigFactory::create(TicketSwapRuleSet::create())->setFinder($finder);