forked from eduvpn/vpn-user-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php_cs.dist
32 lines (30 loc) · 1.03 KB
/
.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
30
31
32
<?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,
'no_alternative_syntax' => false,
'echo_tag_syntax' => ['format' => 'short'],
'pow_to_exponentiation' => false,
'strict_comparison' => true,
'strict_param' => true,
'combine_nested_dirname' => false,
'php_unit_strict' => true,
'header_comment' => [
'header' => <<< 'EOD'
eduVPN - End-user friendly VPN.
Copyright: 2016-2019, The Commons Conservancy eduVPN Programme
SPDX-License-Identifier: AGPL-3.0+
EOD
],
]
)
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__));