Created
July 19, 2019 10:31
-
-
Save mapsi/64e9c73731c6674d050d572850903b64 to your computer and use it in GitHub Desktop.
Codeclimate PHP config for Laravel projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "2" | |
plugins: | |
# https://docs.codeclimate.com/docs/duplication | |
duplication: | |
enabled: true | |
config: | |
languages: | |
# - ruby: | |
# - javascript: | |
- php: | |
# - python: | |
# https://docs.codeclimate.com/docs/fixme | |
fixme: | |
enabled: true | |
# https://docs.codeclimate.com/docs/phpcodesniffer | |
phpcodesniffer: | |
enabled: true | |
config: | |
file_extensions: "php" | |
standard: "PSR2" | |
# https://docs.codeclimate.com/docs/phpmd | |
phpmd: | |
enabled: true | |
config: | |
file_extensions: | |
- php | |
# - inc | |
# https://docs.codeclimate.com/docs/sonar-php | |
sonar-php: | |
enabled: true | |
# https://docs.codeclimate.com/docs/phan | |
phan: | |
enabled: true | |
config: | |
file_extensions: "php" | |
exclude_patterns: | |
- "bootstrap/" | |
- "config/" | |
- "database/" | |
- "public/" | |
- "resources/" | |
- "routes/" | |
- "storage/" | |
- "tests/" | |
- "**/vendor/" | |
- "**/node_modules/" | |
- "**.md" | |
- "**.json" | |
- "**.xml" | |
- "composer.phar" | |
- "**/.DS_Store" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment