forked from dvdoug/behat-code-coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php_cs.dist
28 lines (26 loc) · 973 Bytes
/
.php_cs.dist
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
declare(strict_types=1);
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHP71Migration' => true,
'@PHP71Migration:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'concat_space' => ['spacing' => 'one'],
'fopen_flags' => ['b_mode' => true],
'native_function_invocation' => false,
'global_namespace_import' => ['import_classes' => true, 'import_constants' => true, 'import_functions' => true],
'phpdoc_separation' => false,
'yoda_style' => false,
'phpdoc_trim_consecutive_blank_line_separation' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => false],
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__ . '/features')
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
->append([__FILE__])
);