"Fossies" - the Fresh Open Source Software Archive

Member "icingaweb2-2.12.0/icingaweb2.ruleset.xml" (21 Sep 2023, 2885 Bytes) of package /linux/www/icingaweb2-2.12.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "icingaweb2.ruleset.xml": 2.11.4_vs_2.12.0.

    1 <?xml version="1.0"?>
    2 <!-- PHP Codesniffer ruleset configuration -->
    3 <ruleset name="icingaweb2">
    4     <description>The default PSR-2 standard with specifically excluded non-critical sniffs</description>
    5     <!-- Include the whole PSR-2 standard -->
    6     <rule ref="PSR2"/>
    7     <!-- Exclude patterns for PSR-2 Sniffs -->
    8     <rule ref="PSR2.Methods.MethodDeclaration.Underscore">
    9         <severity>0</severity>
   10     </rule>
   11     <rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
   12         <severity>0</severity>
   13     </rule>
   14     <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
   15         <severity>0</severity>
   16     </rule>
   17     <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
   18         <exclude-pattern>library/Icinga/Application/Cli.php</exclude-pattern>
   19         <exclude-pattern>library/Icinga/Application/Test.php</exclude-pattern>
   20         <exclude-pattern>library/Icinga/Application/StaticWeb.php</exclude-pattern>
   21         <exclude-pattern>library/Icinga/Application/EmbeddedWeb.php</exclude-pattern>
   22         <exclude-pattern>library/Icinga/Application/functions.php</exclude-pattern>
   23         <exclude-pattern>library/Icinga/Application/LegacyWeb.php</exclude-pattern>
   24         <exclude-pattern>library/Icinga/Application/Web.php</exclude-pattern>
   25         <exclude-pattern>library/Icinga/File/Pdf.php</exclude-pattern>
   26         <exclude-pattern>library/Icinga/Util/LessParser.php</exclude-pattern>
   27         <exclude-pattern>modules/doc/library/Doc/Renderer/DocSectionRenderer.php</exclude-pattern>
   28         <exclude-pattern>modules/monitoring/library/Monitoring/Plugin.php</exclude-pattern>
   29     </rule>
   30     <rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
   31         <exclude-pattern>*/test/php/*</exclude-pattern>
   32     </rule>
   33     <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
   34         <exclude-pattern>*/test/php/*</exclude-pattern>
   35     </rule>
   36     <rule ref="PSR2.Namespaces.UseDeclaration.UseAfterNamespace">
   37         <exclude-pattern>*/test/php/*</exclude-pattern>
   38         <exclude-pattern>*/library/Icinga/Test/BaseTestCase.php</exclude-pattern>
   39     </rule>
   40     <rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
   41         <exclude-pattern>*/application/views/helpers/*</exclude-pattern>
   42         <exclude-pattern>*/library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php</exclude-pattern>
   43     </rule>
   44     <rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
   45         <exclude-pattern>*/application/views/helpers/*</exclude-pattern>
   46         <exclude-pattern>*/library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php</exclude-pattern>
   47     </rule>
   48     <rule ref="Generic.Files.LineLength.TooLong">
   49         <exclude-pattern>*/modules/monitoring/library/Monitoring/Backend/Ido/Query/*</exclude-pattern>
   50         <exclude-pattern>*/modules/monitoring/library/Monitoring/Backend/Livestatus/Query/*</exclude-pattern>
   51     </rule>
   52 </ruleset>