2018-03-20 06:32:52 -05:00
|
|
|
<?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>
|
2018-05-09 08:05:17 -05:00
|
|
|
<exclude-pattern>/bootstrap/cache/*</exclude-pattern>
|
2018-03-20 06:32:52 -05:00
|
|
|
<exclude-pattern>/lib/*</exclude-pattern>
|
|
|
|
<exclude-pattern>/html/plugins/*</exclude-pattern>
|
|
|
|
<exclude-pattern>/config.php</exclude-pattern>
|
2018-05-09 08:05:17 -05:00
|
|
|
<exclude-pattern>/_ide_helper.php</exclude-pattern>
|
2019-04-01 20:03:54 -05:00
|
|
|
<exclude-pattern>/_ide_helper_models.php</exclude-pattern>
|
2018-03-20 06:32:52 -05:00
|
|
|
<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>
|