-
Notifications
You must be signed in to change notification settings - Fork 155
Feature/add scrutinizer #491
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| before_commands: | ||
| - "composer install --no-dev --prefer-source" | ||
|
|
||
| tools: | ||
| external_code_coverage: | ||
| timeout: 600 | ||
| php_code_coverage: | ||
| enabled: false | ||
| php_code_sniffer: | ||
| enabled: true | ||
| config: | ||
| standard: PSR2 | ||
| filter: | ||
| paths: ["module/*"] | ||
| php_cpd: | ||
| enabled: true | ||
| excluded_dirs: ["docs", "examples", "tests", "vendor", "data"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, it's a standard config I use across projects and does no harm |
||
| php_cs_fixer: | ||
| enabled: true | ||
| config: | ||
| level: all | ||
| filter: | ||
| paths: ["module/*"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess we should not run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Scrutinizer is not going to fail - we want a failure on CS issues There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| php_loc: | ||
| enabled: true | ||
| excluded_dirs: ["docs", "examples", "tests", "vendor", "data"] | ||
| php_mess_detector: | ||
| enabled: true | ||
| config: | ||
| ruleset: phpmd.xml.dist | ||
| design_rules: { eval_expression: false } | ||
| filter: | ||
| paths: ["module/*"] | ||
| php_pdepend: | ||
| enabled: true | ||
| excluded_dirs: ["docs", "examples", "tests", "vendor", "data"] | ||
| php_analyzer: | ||
| enabled: true | ||
| filter: | ||
| paths: ["module/*"] | ||
| php_hhvm: | ||
| enabled: true | ||
| filter: | ||
| paths: ["module/*"] | ||
| sensiolabs_security_checker: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <ruleset | ||
| name="ZFModules rules" | ||
| xmlns="http://pmd.sf.net/ruleset/1.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" | ||
| xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" | ||
| > | ||
| <rule ref="rulesets/codesize.xml"/> | ||
| <rule ref="rulesets/unusedcode.xml"/> | ||
| <rule ref="rulesets/design.xml"> | ||
| <!-- eval is needed to generate runtime classes --> | ||
| <exclude name="EvalExpression"/> | ||
| </rule> | ||
| <rule ref="rulesets/naming.xml"/> | ||
| </ruleset> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: needs ocular to submit coverage. See https://github.com/Ocramius/ProxyManager/blob/master/.travis.coverage.sh