Created
May 21, 2024 17:34
-
-
Save aleduca/4bc9c9c0a241a808d7253568d4878065 to your computer and use it in GitHub Desktop.
rules.neon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- Symplify\PHPStanRules\Rules\ForbiddenExtendOfNonAbstractClassRule | |
- Symplify\PHPStanRules\Rules\Explicit\ExplicitClassPrefixSuffixRule | |
- Symplify\PHPStanRules\Rules\ForbiddenMultipleClassLikeInOneFileRule | |
- Symplify\PHPStanRules\Rules\ForbiddenParamTypeRemovalRule | |
- Symplify\PHPStanRules\Rules\Complexity\ForbiddenSameNamedNewInstanceRule | |
- Symplify\PHPStanRules\Rules\NoAbstractMethodRule | |
- Symplify\PHPStanRules\Rules\NoDynamicNameRule | |
- Symplify\PHPStanRules\Rules\NoEmptyClassRule | |
- Symplify\PHPStanRules\Rules\NoMissingDirPathRule | |
- Symplify\PHPStanRules\Rules\Explicit\NoMixedMethodCallerRule | |
- Symplify\PHPStanRules\Rules\NoNullableArrayPropertyRule | |
- Symplify\PHPStanRules\Rules\NarrowType\NoReturnFalseInNonBoolClassMethodRule | |
- Symplify\PHPStanRules\Rules\NoReturnSetterMethodRule | |
- Symplify\PHPStanRules\Rules\NoVoidGetterMethodRule | |
- Symplify\PHPStanRules\Rules\PreventParentMethodVisibilityOverrideRule | |
- Symplify\PHPStanRules\Rules\Domain\RequireExceptionNamespaceRule | |
- Symplify\PHPStanRules\Symfony\Rules\RequireInvokableControllerRule | |
- Symplify\PHPStanRules\Rules\Explicit\RequireSpecificReturnTypeOverAbstractRule | |
- Symplify\PHPStanRules\Rules\Enum\RequireUniqueEnumConstantRule | |
- Symplify\PHPStanRules\Rules\UppercaseConstantRule | |
services: | |
- | |
class: Symplify\PHPStanRules\Rules\ClassNameRespectsParentSuffixRule | |
tags: [phpstan.rules.rule] | |
arguments: | |
parentClasses: | |
- app\controllers\Controller | |
- | |
class: Symplify\PHPStanRules\ObjectCalisthenics\Rules\NoShortNameRule | |
tags: [phpstan.rules.rule] | |
arguments: | |
minNameLength: 3 | |
allowedShortNames: | |
- id | |
- to | |
- | |
class: Symplify\PHPStanRules\Rules\ForbiddenFuncCallRule | |
tags: [phpstan.rules.rule] | |
arguments: | |
forbiddenFunctions: | |
eval: 'Remove eval() function' | |
# - | |
# class: Symplify\PHPStanRules\Rules\NoDuplicatedShortClassNameRule | |
# tags: [phpstan.rules.rule] | |
# arguments: | |
# toleratedNestingLevel: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment