-
Notifications
You must be signed in to change notification settings - Fork 0
/
mp.yaml
26 lines (23 loc) · 1.01 KB
/
mp.yaml
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
name: "mycustom.profile" # Profile name
baseProfile: empty # Use the 'empty' profile as initial configuration of this profile
groups: # List of configured groups
- groupId: InspectionsToInclude
groups:
- "category:PHP/General" # Inspection category from the linter
- "JSCategories" # Include the JSCategories group from below
- "PHPInspections" # Include the PHPInspections group from below
- groupId: JSCategories
groups:
- "category:JavaScript and TypeScript/ES2015 migration aids"
- groupId: PHPInspections
inspections: # Inspection IDs
- PhpDeprecationInspection
- PhpReturnDocTypeMismatchInspection
inspections: # Group invocation
- group: InspectionsToInclude
enabled: true # Enable the InspectionsToInclude group
- inspection: PhpNonCompoundUseInspection
severity: WARNING # Overriding the severity level for PhpNonCompoundUseInspection
- inspection: MissortedModifiers
options:
m_requireAnnotationsFirst: false # Overriding the configuration option