forked from Harborn-digital/secure-jwt-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.dist
29 lines (29 loc) · 878 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
<?php
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'ordered_imports' => true,
'psr0' => false,
'yoda_style' => true,
'phpdoc_order' => true,
'array_syntax' => [
'syntax' => 'short',
],
'binary_operator_spaces' => [
'align_equals' => true,
'align_double_arrow' => true,
],
'header_comment' => [
'header' => <<<EOH
This file is part of the Connect Holland Secure JWT package and distributed under the terms of the MIT License.
Copyright (c) 2020 Connect Holland.
EOH
,
]
])
->setFinder(
PhpCsFixer\Finder::create()->in([
__DIR__.'/src',
__DIR__.'/tests'
]
));