GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( efab1b...41f90b )
by Cees-Jan
06:58
created

PhpCsFixerConfig::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 17
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 13
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Tools\TestUtilities;
4
5
use PhpCsFixer\Config;
6
7
final class PhpCsFixerConfig
8
{
9
    public static function create(): Config
10
    {
11
        return Config::create()
12
            ->setRules([
13
                '@PSR2' => true,
14
                'ordered_imports' => true,
15
                'ordered_class_elements' => true,
16
                'single_blank_line_before_namespace' => true,
17
                'method_separation' => true,
18
                'declare_strict_types' => true,
19
                'strict_param' => true,
20
                'single_class_element_per_statement' => true,
21
                'no_extra_consecutive_blank_lines' => true,
22
                'array_syntax' => ['syntax' => 'short'],
23
            ])
24
        ;
25
    }
26
}
27