All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.plugins.php.profiles.zend-profile.xml Maven / Gradle / Ivy

Go to download

Sonar PHP Plugin is set of tools that brings PHP support to sonar. It relies on Sonar core, PHP Depend, PHPMD, PHP_CodeSniffer and PHPUnit

There is a newer version: 2.4.1
Show newest version
<?xml version="1.0" encoding="ISO-8859-1"?>
<profile>
  <name>Zend profile</name>
  <language>php</language>
  <rules>

    <!-- PHPMD rules -->
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/CyclomaticComplexity]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/NPathComplexity]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/ExcessiveMethodLength]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/ExcessiveClassLength]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/ExcessiveParameterList]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/ExcessivePublicCount]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/TooManyFields]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/TooManyMethods]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Code Size Rules/ExcessiveClassComplexity]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Design Rules/ExitExpression]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Design Rules/EvalExpression]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Design Rules/GotoStatement]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Design Rules/NumberOfChildren]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Design Rules/DepthOfInheritance]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Design Rules/CouplingBetweenObjects]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Unused Code Rules/UnusedPrivateField]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Unused Code Rules/UnusedLocalVariable]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Unused Code Rules/UnusedPrivateMethod]]></key>
    </rule>
    <rule>
      <repositoryKey>phppmd_rules</repositoryKey>
      <key><![CDATA[Unused Code Rules/UnusedPrivateMethod]]></key>
    </rule>

    <!-- PHP CodeSniffer rules -->
    <rule>
      <repositoryKey>php_codesniffer_rules</repositoryKey>
      <key>Zend.Files.ClosingTag.NotAllowed</key>
    </rule>
    <rule>
      <repositoryKey>php_codesniffer_rules</repositoryKey>
      <key>Zend.NamingConventions.ValidVariableName.NotCamelCaps</key>
    </rule>
    <rule>
      <repositoryKey>php_codesniffer_rules</repositoryKey>
      <key>Zend.NamingConventions.ValidVariableName.NotCamelCaps</key>
    </rule>
    <rule>
      <repositoryKey>php_codesniffer_rules</repositoryKey>
      <key>Zend.NamingConventions.ValidVariableName.PublicHasUnderscore</key>
    </rule>
    <rule>
      <repositoryKey>php_codesniffer_rules</repositoryKey>
      <key>Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore</key>
    </rule>
    <rule>
      <repositoryKey>php_codesniffer_rules</repositoryKey>
      <key>Zend.NamingConventions.ValidVariableName.MemberVarNotCamelCaps</key>
    </rule>
    <rule>
      <repositoryKey>php_codesniffer_rules</repositoryKey>
      <key>Zend.NamingConventions.ValidVariableName.StringVarNotCamelCaps</key>
    </rule>
    
  </rules>
</profile>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy