forked from advancedhosters-attic/hipanel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
31 lines (28 loc) · 820 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
$header = <<<EOF
AdvancedHosters implementation of HiPanel
@link https://advancedhosters.com/
@package hipanel
@license proprietary
@copyright Copyright (c) 2015-2017, AdvancedHosters (https://advancedhosters.com/)
EOF;
return PhpCsFixer\Config::create()
->setUsingCache(true)
->setRiskyAllowed(true)
->setRules(array(
'@PSR2' => true,
'header_comment' => [
'header' => $header,
'separate' => 'bottom',
'location' => 'after_declare_strict',
'commentType' => 'PHPDoc',
],
))
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->notPath('vendor')
->notPath('runtime')
->notPath('web/assets')
)
;