forked from app-insights-php/app-insights-php-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.dist
26 lines (21 loc) · 786 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
<?php
$fileHeaderComment = <<<COMMENT
This file is part of the App Insights PHP project.
(c) Norbert Orzechowicz <[email protected]>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
COMMENT;
$finder = PhpCsFixer\Finder::create()
->in([__DIR__ . '/']);
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHPUnit48Migration:risky' => true,
'php_unit_no_expectation_annotation' => false,
'array_syntax' => ['syntax' => 'short'],
'protected_to_private' => false,
'header_comment' => ['header' => $fileHeaderComment, 'separate' => 'both'],
])
->setRiskyAllowed(true)
->setFinder($finder);