Passed
Branch main (b6a268)
by Iain
04:11
created

.php-cs-fixer.php (1 issue)

1
<?php
2
3
return PhpCsFixer\Config::create()
0 ignored issues
show
Deprecated Code introduced by
The function PhpCsFixer\Config::create() has been deprecated: since 2.17 ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

3
return /** @scrutinizer ignore-deprecated */ PhpCsFixer\Config::create()

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...
4
            ->setRiskyAllowed(true)
5
            ->setRules([
6
                '@PSR2' => true,
7
                '@Symfony' => true,
8
                'header_comment' => ['header' => "Copyright Humbly Arrogant Ltd 2020-2021, all rights reserved."],
9
                'visibility_required' => ['property', 'method', 'const'],
10
                'list_syntax' => ['syntax' => 'short'],
11
                'array_syntax' => ['syntax' => 'short'],
12
                'declare_strict_types' => true,
13
            ])
14
            ->setFinder(
15
        PhpCsFixer\Finder::create()->in(__DIR__)
16
        )
17
        ;
18