-
Notifications
You must be signed in to change notification settings - Fork 6
/
.php_cs.dist
32 lines (29 loc) · 977 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
29
30
31
32
<?php
declare(strict_types = 1);
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHPUnit60Migration:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'declare_equal_normalize' => ['space' => 'single'],
'declare_strict_types' => true,
'header_comment' => [
'header' => 'This file is part of the ColorContrast package.
(c) David Gorges <gorges@werbelift.de>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.',
'location' => 'after_open',
],
'ordered_imports' => true,
'php_unit_no_expectation_annotation' => false,
'void_return' => true,
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
->in(__DIR__.'/tests')
->append([__FILE__])
)
;