-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpinsights.php
29 lines (27 loc) · 1.42 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
28
29
<?php
declare(strict_types=1);
return [
'preset' => 'laravel',
'exclude' => [
'lang/',
],
'remove' => [
NunoMaduro\PhpInsights\Domain\Insights\ForbiddenDefineFunctions::class,
NunoMaduro\PhpInsights\Domain\Insights\ForbiddenTraits::class,
NunoMaduro\PhpInsights\Domain\Sniffs\ForbiddenSetterSniff::class,
PHP_CodeSniffer\Standards\Generic\Sniffs\Commenting\TodoSniff::class,
PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff::class,
PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer::class,
PhpCsFixer\Fixer\Import\OrderedImportsFixer::class,
PhpCsFixer\Fixer\StringNotation\ExplicitStringVariableFixer::class,
PhpCsFixer\Fixer\Whitespace\NoExtraBlankLinesFixer::class,
SlevomatCodingStandard\Sniffs\Classes\ForbiddenPublicPropertySniff::class,
SlevomatCodingStandard\Sniffs\Commenting\DocCommentSpacingSniff::class,
SlevomatCodingStandard\Sniffs\Commenting\UselessInheritDocCommentSniff::class,
SlevomatCodingStandard\Sniffs\ControlStructures\DisallowShortTernaryOperatorSniff::class,
SlevomatCodingStandard\Sniffs\Namespaces\UseSpacingSniff::class,
SlevomatCodingStandard\Sniffs\TypeHints\ParameterTypeHintSniff::class,
SlevomatCodingStandard\Sniffs\TypeHints\PropertyTypeHintSniff::class,
SlevomatCodingStandard\Sniffs\TypeHints\ReturnTypeHintSniff::class,
],
];