-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.codacy.yaml
More file actions
36 lines (35 loc) · 744 Bytes
/
.codacy.yaml
File metadata and controls
36 lines (35 loc) · 744 Bytes
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
---
# Codacy configuration to align with PER 2.0 coding standard
engines:
# Try to use PHP_CodeSniffer with our custom config
phpcodesniffer:
enabled: true
config: phpcs.xml
# Also try php-cs-fixer if supported
php-cs-fixer:
enabled: true
config: .php-cs-fixer.php
# Disable other style checkers
phpmd:
enabled: false
# Keep duplication detection
duplication:
enabled: true
config:
languages:
- php
# Exclude non-source files from analysis
exclude_paths:
- 'vendor/**'
- '.github/**'
- 'docker/**'
- 'node_modules/**'
- 'tests/Benchmark/**'
- '*.md'
- '*.sh'
- '*.yml'
- '*.yaml'
- 'Dockerfile'
- '.php-cs-fixer.cache'
- 'composer.lock'
- 'package-lock.json'