forked from eduvpn/vpn-lib-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php_cs.dist
28 lines (26 loc) · 859 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
<?php
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules(
[
'@Symfony' => true,
'@Symfony:risky' => true,
'ordered_imports' => true,
'ordered_class_elements' => true,
'array_syntax' => ['syntax' => 'short'],
'phpdoc_order' => true,
'phpdoc_no_empty_return' => false,
'phpdoc_add_missing_param_annotation' => true,
'strict_comparison' => true,
'strict_param' => true,
'php_unit_strict' => true,
'header_comment' => [
'header' => <<< 'EOD'
eduVPN - End-user friendly VPN.
Copyright: 2016-2018, The Commons Conservancy eduVPN Programme
SPDX-License-Identifier: AGPL-3.0+
EOD
]
]
)
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__));