forked from Harborn-digital/secure-jwt-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php-cs-fixer.dist.php
32 lines (31 loc) · 911 Bytes
/
.php-cs-fixer.dist.php
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
32
<?php
$config = new PhpCsFixer\Config();
$config
->setRules([
'@Symfony' => true,
'ordered_imports' => true,
'yoda_style' => true,
'phpdoc_order' => true,
'array_syntax' => [
'syntax' => 'short',
],
'binary_operator_spaces' =>
['operators' => [
'=>' => 'align_single_space_minimal',
'=' => 'align_single_space_minimal'
]],
'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-2021 Connect Holland.
EOH
,
]
])
->setFinder(
PhpCsFixer\Finder::create()->in([
__DIR__.'/src',
__DIR__.'/tests'
]
));
return $config;