-
-
Notifications
You must be signed in to change notification settings - Fork 468
Expand file tree
/
Copy path.php-cs-fixer.php
More file actions
32 lines (30 loc) · 800 Bytes
/
.php-cs-fixer.php
File metadata and controls
32 lines (30 loc) · 800 Bytes
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 declare(strict_types=1);
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->name('*.php')
->notPath('src/Tracing/FederatedTracing/Proto')
->notPath('vendor')
->notPath('phpstan-tmp-dir')
->ignoreDotFiles(false)
->ignoreVCS(true);
return MLL\PhpCsFixerConfig\risky($finder, [
'general_phpdoc_annotation_remove' => [
'annotations' => [
'throws',
],
],
'trailing_comma_in_multiline' => [
'elements' => [
'arguments',
'arrays',
'match',
'parameters',
],
],
'fully_qualified_strict_types' => [
'phpdoc_tags' => [],
],
'Laravel/laravel_phpdoc_alignment' => true,
])->registerCustomFixers([
new Tests\LaravelPhpdocAlignmentFixer(),
]);