Skip to content

Commit

Permalink
Skip conflict sniffs
Browse files Browse the repository at this point in the history
  • Loading branch information
zingimmick committed Dec 24, 2021
1 parent 12ac313 commit 3c1f390
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/set/slevomat-coding-standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,16 @@
$services->set(UnusedVariableSniff::class);
$services->set(UselessVariableSniff::class);
$services->set(DuplicateSpacesSniff::class);
$services->set(ParameterTypeHintSniff::class);
// Conflict with declaration must be compatible with parent method
// $services->set(\SlevomatCodingStandard\Sniffs\TypeHints\ParameterTypeHintSniff::class);
// $services->set(\SlevomatCodingStandard\Sniffs\TypeHints\ParameterTypeHintSniff::class);
$services->set(PropertyTypeHintSniff::class);
$services->set(ReturnTypeHintSniff::class);
$services->set(UnusedUsesSniff::class)
->property('searchAnnotations', true);
// $services->set(UselessConstantTypeHintSniff::class);
// Conflict with VarConstantCommentRector
// $services->set(\SlevomatCodingStandard\Sniffs\TypeHints\UselessConstantTypeHintSniff::class);
$services->set(InlineDocCommentDeclarationSniff::class);
$services->set(UselessFunctionDocCommentSniff::class);
$services->set(DisallowCommentAfterCodeSniff::class);
$services->set(UnusedParameterSniff::class);
};

0 comments on commit 3c1f390

Please sign in to comment.