~fkooman/vpn-user-portal

vpn-user-portal/.php_cs.dist -rw-r--r-- 1.1 KiB
6a186e3fFrançois Kooman prepare for new release 19 days ago
                                                                                
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
33
34
<?php

return PhpCsFixer\Config::create()
    ->setRiskyAllowed(true)
    ->setRules(
        [
            '@Symfony' => true,
            '@Symfony:risky' => true,
            'ordered_imports' => true,
            'ordered_class_elements' => true,
            'no_alternative_syntax' => false,
            'echo_tag_syntax' => [
                'format' => 'short',
            ],
            'array_syntax' => ['syntax' => 'short'],
            'phpdoc_order' => true,
            'phpdoc_no_empty_return' => false,
            'phpdoc_add_missing_param_annotation' => true,
            'combine_nested_dirname' => false,
            'pow_to_exponentiation' => false,
            'strict_comparison' => true,
            'strict_param' => true,
            '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__));