-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
44 lines (38 loc) · 1.81 KB
/
phpstan.neon.dist
File metadata and controls
44 lines (38 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
includes:
- ./vendor/pestphp/pest/extension.neon
- ./vendor/orrison/meliorstan/config/extension.neon
- phpstan-extension.neon
rules:
- Orrison\MeliorStan\Rules\BooleanGetMethodName\BooleanGetMethodNameRule
- Orrison\MeliorStan\Rules\CamelCaseMethodName\CamelCaseMethodNameRule
- Orrison\MeliorStan\Rules\CamelCaseParameterName\CamelCaseParameterNameRule
- Orrison\MeliorStan\Rules\CamelCasePropertyName\CamelCasePropertyNameRule
- Orrison\MeliorStan\Rules\CamelCaseVariableName\CamelCaseVariableNameRule
- Orrison\MeliorStan\Rules\ConstantNamingConventions\ConstantNamingConventionsRule
- Orrison\MeliorStan\Rules\MissingClosureParameterTypehint\MissingClosureParameterTypehintRule
- Orrison\MeliorStan\Rules\PascalCaseClassName\PascalCaseClassNameRule
- Orrison\MeliorStan\Rules\ShortMethodName\ShortMethodNameRule
- Orrison\MeliorStan\Rules\ShortVariable\ShortVariableRule
- Orrison\MeliorStan\Rules\Superglobals\SuperglobalsRule
- Orrison\MeliorStan\Rules\TraitConstantNamingConventions\TraitConstantNamingConventionsRule
- Orrison\MeliorStan\Rules\ForbidPestPhpOnly\ForbidPestPhpOnlyRule
parameters:
paths:
- src/
level: 6
ignoreErrors:
-
identifier: MeliorStan.methodNameNotCamelCase
path: src/Filament/Forms/RichContentPlugins/TipTapExtensions/*
-
identifier: MeliorStan.parameterNameNotCamelCase
path: src/Filament/Forms/RichContentPlugins/TipTapExtensions/*
meliorstan:
boolean_get_method_name:
check_parameterized_methods: true
short_variable:
exceptions: [id,at,to,as]
short_method_name:
minimum_length: 2
camel_case_property_name:
ignored_when_in_classes_descendant_of: [Spatie\LaravelSettings\Settings]