Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from elbgoods/bugfix/phpinsights-ForbiddenSett…
Browse files Browse the repository at this point in the history
…erSniff

setters aren't always bad
  • Loading branch information
Gummibeer authored Mar 4, 2020
2 parents ec0f6fa + 668a555 commit b99b5c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/phpinsights.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenDefineFunctions;
use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenNormalClasses;
use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenTraits;
use NunoMaduro\PhpInsights\Domain\Sniffs\ForbiddenSetterSniff;
use ObjectCalisthenics\Sniffs\Classes\ForbiddenPublicPropertySniff;
use ObjectCalisthenics\Sniffs\Files\ClassTraitAndInterfaceLengthSniff;
use ObjectCalisthenics\Sniffs\Files\FunctionLengthSniff;
Expand Down Expand Up @@ -99,6 +100,7 @@
PropertyTypeHintSniff::class,
UselessFunctionDocCommentSniff::class,
InlineDocCommentDeclarationSniff::class,
ForbiddenSetterSniff::class,

// COMPLEXITY
CyclomaticComplexityIsHigh::class,
Expand Down

0 comments on commit b99b5c0

Please sign in to comment.