-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.php_cs.dist
More file actions
28 lines (26 loc) · 805 Bytes
/
Copy path.php_cs.dist
File metadata and controls
28 lines (26 loc) · 805 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
27
28
<?php
$header = <<<EOF
This file is part of the MNC\Fernet project.
(c) Matías Navarro-Carter <mnavarrocarter@gmail.com>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'phpdoc_no_empty_return' => true,
'no_superfluous_phpdoc_tags' => false,
'header_comment' => ['header' => $header],
'yoda_style' => [
'equal' => false,
'identical' => false,
'less_and_greater' => false,
'always_move_variable' => true
],
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
)
;