-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqodana.yaml
42 lines (38 loc) · 1.34 KB
/
qodana.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
#-------------------------------------------------------------------------------#
# Qodana analysis is configured by qodana.yaml file #
# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
#-------------------------------------------------------------------------------#
version: "1.0"
#Specify inspection profile for code analysis
profile:
name: qodana.recommended
php:
version: 8.1 #(Applied in CI/CD pipeline)
linter: jetbrains/qodana-php:latest
include:
- name: PhpVulnerablePathsInspection
- name: VulnerableLibrariesGlobal
- name: PhpCoverageInspection
- name: PhpInconsistentReturnPointsInspection
- name: PhpRedundantOptionalArgumentInspection
- name: PhpTernaryExpressionCanBeReplacedWithConditionInspection
- name: PhpFullyQualifiedNameUsageInspection
- name: PhpUnnecessaryFullyQualifiedNameInspection
- name: DuplicatedCode
- name: PhpReturnDocTypeMismatchInspection
- name: PhpMissingParamTypeInspection
- name: PhpMissingFieldTypeInspection
- name: PhpMissingReturnTypeInspection
- name: PhpDynamicFieldDeclarationInspection
- name: PhpUnusedAliasInspection
- name: PhpUnusedLocalVariableInspection
plugins:
- id: com.kalessil.phpStorm.phpInspectionsEA
exclude:
- name: All
paths:
- vendor
- vendor/
- vendor/*
- vendor/**