forked from Techworker/pascalcoin-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs
More file actions
26 lines (24 loc) · 782 Bytes
/
.php_cs
File metadata and controls
26 lines (24 loc) · 782 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
<?php
$header = <<<'EOF'
This file is part of the PascalCoin PHP package.
(c) Benjamin Ansbach <[email protected]>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
$finder = PhpCsFixer\Finder::create()
->exclude(['build', 'vendor'])
->in(__DIR__);
return PhpCsFixer\Config::create()
->setFinder($finder)
->setUsingCache(false)
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'yoda_style' => false,
'header_comment' => ['header' => $header],
'declare_strict_types' => true,
'phpdoc_align' => false,
'phpdoc_order' => true,
'ordered_imports' => true,
'array_syntax' => ['syntax' => 'short'],
]);