-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpinsights.php
27 lines (25 loc) · 1.13 KB
/
phpinsights.php
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
<?php
declare(strict_types = 1);
return [
'preset' => 'default',
'add' => [],
'remove' => [
# NunoMaduro\PhpInsights\Domain\Metrics\Style\Style::class,
SlevomatCodingStandard\Sniffs\TypeHints\DeclareStrictTypesSniff::class,
SlevomatCodingStandard\Sniffs\ControlStructures\DisallowEmptySniff::class,
SlevomatCodingStandard\Sniffs\ControlStructures\DisallowYodaComparisonSniff::class,
SlevomatCodingStandard\Sniffs\PHP\UselessParenthesesSniff::class,
SlevomatCodingStandard\Sniffs\Commenting\UselessInheritDocCommentSniff::class,
SlevomatCodingStandard\Sniffs\TypeHints\UselessConstantTypeHintSniff::class,
PhpCsFixer\Fixer\LanguageConstruct\DeclareEqualNormalizeFixer::class,
PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting\SpaceAfterNotSniff::class,
SlevomatCodingStandard\Sniffs\Commenting\DocCommentSpacingSniff::class,
PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff::class,
PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer::class,
],
'exclude' => [
'bin/',
'examples/',
],
'config' => [],
];