We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
ForbiddenNormalClasses::class
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have this remove array in config/insights.php
As you can see there is the
ForbiddenNormalClasses::class
string.When I exeute the command, I get this message:
Am I doing something wrong? It's supposed to not get this message.
The text was updated successfully, but these errors were encountered: