-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.php-cs-fixer.dist.php
More file actions
28 lines (26 loc) · 915 Bytes
/
.php-cs-fixer.dist.php
File metadata and controls
28 lines (26 loc) · 915 Bytes
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
<?php
$finder = (new PhpCsFixer\Finder)
->in([__DIR__ . '/modules/btcpay'])
->exclude('vendor');
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => false,
'blank_line_after_opening_tag' => false,
'cast_spaces' => ['space' => 'single'],
'combine_nested_dirname' => true,
'concat_space' => false,
'fopen_flags' => false,
'native_function_invocation' => false,
'native_constant_invocation' => false,
'phpdoc_summary' => false,
'protected_to_private' => false,
'psr_autoloading' => false,
'yoda_style' => true,
])
->setRiskyAllowed(true)
->setUsingCache(true)
->setIndent("\t")
->setFinder($finder);