attogram/shared-media-api

View on GitHub
.codeclimate.yml

Summary

Maintainability
Test Coverage
# attogram/shared-media-api - codeclimate.yml - v1.0.0
version: "2"
exclude_patterns:
- "vendor/"
plugins:
  phpcodesniffer:
    enabled: true
    config:
      file_extensions: "php"
      standard: "PSR1,PSR2"
  phpmd:
    enabled: true
    checks:
      CleanCode/StaticAccess: # allow Object::method()
        enabled: false
      Controversial/Superglobals: # allow $_GET in sandbox
        enabled: false
      Design/DevelopmentCodeFragment: # allow print_r()
        enabled: false
  phan:
    enabled: true
    checks:
      PhanTypeMismatchArgument:
        enabled: false
      PhanTypeMismatchProperty:
        enabled: false
      PhanUndeclaredClassCatch:
        enabled: false
      PhanUndeclaredClassConstant:
        enabled: false
      PhanUndeclaredClassInstanceof:
        enabled: false
      PhanUndeclaredClassMethod:
        enabled: false
      PhanUndeclaredExtendedClass:
        enabled: false
      PhanUndeclaredInterface:
        enabled: false
      PhanUndeclaredTypeParameter:
        enabled: false
      PhanUndeclaredMethod:
        enabled: false
  duplication:
    enabled: true
    config:
      languages:
        php:
          mass_threshold: 46
  csslint:
    enabled: true
  stylelint:
    enabled: true
  fixme:
    enabled: true
  git-legal:
    enabled: true