-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.php-cs-fixer.dist.php
More file actions
33 lines (31 loc) · 1.32 KB
/
.php-cs-fixer.dist.php
File metadata and controls
33 lines (31 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
$finder = PhpCsFixer\Finder::create()
->in([
__DIR__ . '/layers/API/packages/*/src',
__DIR__ . '/layers/API/packages/*/tests',
__DIR__ . '/layers/Backbone/packages/*/src',
__DIR__ . '/layers/Backbone/packages/*/tests',
__DIR__ . '/layers/CMSSchema/packages/*/src',
__DIR__ . '/layers/CMSSchema/packages/*/tests',
__DIR__ . '/layers/Engine/packages/*/src',
__DIR__ . '/layers/Engine/packages/*/tests',
__DIR__ . '/layers/GatoGraphQLForWP/packages/*/src',
__DIR__ . '/layers/GatoGraphQLForWP/packages/*/tests',
__DIR__ . '/layers/GatoGraphQLForWP/plugins/*/src',
__DIR__ . '/layers/GatoGraphQLForWP/plugins/*/tests',
__DIR__ . '/layers/GatoGraphQLStandaloneForWP/plugin-packages/*/src',
__DIR__ . '/layers/GatoGraphQLStandaloneForWP/plugin-packages/*/tests',
__DIR__ . '/layers/GraphQLByPoP/packages/*/src',
__DIR__ . '/layers/GraphQLByPoP/packages/*/tests',
__DIR__ . '/layers/Schema/packages/*/src',
__DIR__ . '/layers/Schema/packages/*/tests',
__DIR__ . '/layers/WPSchema/packages/*/src',
__DIR__ . '/layers/WPSchema/packages/*/tests',
])
;
$config = new PhpCsFixer\Config();
return $config->setRules([
'no_unused_imports' => true,
])
->setFinder($finder)
;