Created
June 2, 2016 12:46
-
-
Save barolab/e4e009987fbd19d32f1b926da7dca65a to your computer and use it in GitHub Desktop.
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
# 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 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PHPMetrics config for Symfony2/Silex application