-
-
Notifications
You must be signed in to change notification settings - Fork 288
Open
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
Library version | 2.11.0 |
Hi,
I have this remove array in config/insights.php
'remove' => [
AlphabeticallySortedUsesSniff::class,
DeclareStrictTypesSniff::class,
DisallowMixedTypeHintSniff::class,
ForbiddenDefineFunctions::class,
ForbiddenNormalClasses::class,
ForbiddenTraits::class,
ParameterTypeHintSniff::class,
PropertyTypeHintSniff::class,
ReturnTypeHintSniff::class,
UselessFunctionDocCommentSniff::class,
SuperfluousInterfaceNamingSniff::class,
SuperfluousTraitNamingSniff::class,
SuperfluousExceptionNamingSniff::class,
SuperfluousAbstractClassNamingSniff::class,
ForbiddenPublicPropertySniff::class,
ForbiddenSetterSniff::class,
InlineDocCommentDeclarationSniff::class,
OrderedImportsFixer::class,
ClassDefinitionFixer::class,
BracesFixer::class,
ScopeClosingBraceSniff::class,
DocCommentSpacingSniff::class,
],
As you can see there is the ForbiddenNormalClasses::class
string.
When I exeute the command, I get this message:
[Architecture] Normal classes are forbidden. Classes must be final or abstract:
app/....php
Am I doing something wrong? It's supposed to not get this message.
Metadata
Metadata
Assignees
Labels
No labels