forked from symfony-swoole/swoole-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
38 lines (33 loc) · 882 Bytes
/
.codeclimate.yml
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
version: '2'
plugins:
shellcheck:
enabled: true
duplication:
enabled: true
config:
languages:
- php
# rules: https://github.com/squizlabs/PHP_CodeSniffer/tree/master/src/Standards
phpcodesniffer:
enabled: true
checks:
Generic Files LineLength TooLong:
enabled: false
# rules: https://phpmd.org/rules/index.html
phpmd:
enabled: true
checks:
Naming/LongVariable:
enabled: false
Naming/ShortVariable:
enabled: false
CleanCode/StaticAccess:
enabled: false
# rules: https://github.com/SonarSource/sonar-php/tree/master/php-checks/src/main/resources/org/sonar/l10n/php/rules/php
sonar-php:
enabled: true
exclude_patterns:
- tests
- src/Bridge/Symfony/Bundle/DependencyInjection
# TODO: Remove when part of package (not internal)
- src/Client/HttpClient.php