librenms/misc/phpcs_librenms.xml
Tony Murray 217969e140
Update php-codesniffer (#11368)
* PHPCS 3.5+

* Fix newly detected style issues
2020-04-03 08:41:24 -05:00

19 lines
812 B
XML

<?xml version="1.0"?>
<ruleset name="librenms">
<description>The PSR2 coding standard with LibreNMS exceptions.</description>
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/storage/*</exclude-pattern>
<exclude-pattern>/bootstrap/cache/*</exclude-pattern>
<exclude-pattern>/html/plugins/*</exclude-pattern>
<exclude-pattern>/config.php</exclude-pattern>
<exclude-pattern>/_ide_helper.php</exclude-pattern>
<exclude-pattern>/_ide_helper_models.php</exclude-pattern>
<rule ref="PSR2" >
<exclude name="Generic.Files.LineLength"/>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>/database/seeds/*</exclude-pattern>
<exclude-pattern>/database/migrations/*</exclude-pattern>
</rule>
</ruleset>