.codeclimate.yml
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