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
<?xml version="1.0" encoding="UTF-8"?> | |
<ruleset name="Symfony2"> | |
<!-- There should not be any code in the bundle Resources directory. --> | |
<exclude-pattern>*/Resources/*</exclude-pattern> | |
<rule ref="Generic.Classes.DuplicateClassName.Found"><severity>0</severity></rule> | |
<rule ref="Generic.CodeAnalysis.EmptyStatement.NotAllowed"><severity>2</severity></rule> | |
<rule ref="Generic.CodeAnalysis.EmptyStatement.NotAllowedWarning"><severity>4</severity></rule> | |
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop.CanSimplify"><severity>4</severity></rule> | |
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed"><severity>2</severity></rule> | |
<rule ref="Generic.CodeAnalysis.JumbledIncrementer.Found"><severity>2</severity></rule> |
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
<?xml version="1.0"?> | |
<ruleset name="PHPMD ACSEO RULESET" 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"> | |
<description>Règles PHPMD pour Symfony2</description> | |
<!-- Rules: see http://phpmd.org/rules/index.html --> | |
<!-- unusedcode --> | |
<rule ref="rulesets/unusedcode.xml" > | |
<priority>2</priority> | |
</rule> |
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: |