Skip to content

Instantly share code, notes, and snippets.

@mapsi
Created July 19, 2019 10:31
Show Gist options
  • Save mapsi/64e9c73731c6674d050d572850903b64 to your computer and use it in GitHub Desktop.
Save mapsi/64e9c73731c6674d050d572850903b64 to your computer and use it in GitHub Desktop.
Codeclimate PHP config for Laravel projects
---
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