Skip to content

Instantly share code, notes, and snippets.

@barolab
Created June 2, 2016 12:46
Show Gist options
  • Save barolab/e4e009987fbd19d32f1b926da7dca65a to your computer and use it in GitHub Desktop.
Save barolab/e4e009987fbd19d32f1b926da7dca65a to your computer and use it in GitHub Desktop.
# Symfony2 <metrics.yml>
metrics:
# paths to explore
path:
directory: src
extensions: php
exclude: Features|Tests|DataFixtures
# report and violations files
logging:
report:
html: ./report/phpmetrics.html
# rules used for color ([ critical, warning, good ])
rules:
cyclomaticComplexity: [ 10, 6, 2 ]
maintainabilityIndex: [ 0, 69, 85 ]
@barolab
Copy link
Author

barolab commented Jun 2, 2016

PHPMetrics config for Symfony2/Silex application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment