-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.php_cs
31 lines (28 loc) · 806 Bytes
/
.php_cs
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
<?php
/*
* This file is part of the Worldia presentation bundle package.
* (c) Christian Daguerre <cdaguerre@worldia.com>
*/
$header = <<<'EOF'
This file is part of the Worldia presentation bundle package.
(c) Christian Daguerre <cdaguerre@worldia.com>
EOF;
return PhpCsFixer\Config::create()
->setUsingCache(false)
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'header_comment' => ['header' => $header],
'array_syntax' => ['syntax' => 'short'],
'php_unit_construct' => true,
'php_unit_strict' => true,
'strict_param' => true,
'binary_operator_spaces' => false,
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude('tests')
->in(__DIR__)
)
;