2018-10-13 00:05:04 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset name="Shaarli">
|
|
|
|
<description>The Shaarli coding standards</description>
|
|
|
|
|
|
|
|
<file>index.php</file>
|
|
|
|
<file>application</file>
|
|
|
|
<file>plugins</file>
|
2021-04-05 09:39:34 +02:00
|
|
|
<file>tests</file>
|
2018-10-13 00:05:04 +02:00
|
|
|
|
|
|
|
<exclude-pattern>*/*.css</exclude-pattern>
|
|
|
|
<exclude-pattern>*/*.js</exclude-pattern>
|
|
|
|
|
|
|
|
<arg name="colors"/>
|
|
|
|
|
2020-09-22 20:16:23 +02:00
|
|
|
<rule ref="PSR12"/>
|
|
|
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
|
2020-11-08 15:02:45 +01:00
|
|
|
|
|
|
|
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
|
|
|
|
<!-- index.php bootstraps everything, so yes mixed symbols with side effects -->
|
|
|
|
<exclude-pattern>index.php</exclude-pattern>
|
2020-10-27 19:23:45 +01:00
|
|
|
<exclude-pattern>plugins/*</exclude-pattern>
|
2021-04-05 11:00:28 +02:00
|
|
|
<exclude-pattern>tests/bootstrap.php</exclude-pattern>
|
|
|
|
<exclude-pattern>tests/utils/RainTPL.php</exclude-pattern>
|
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
|
|
|
|
<exclude-pattern>tests/utils/RainTPL.php</exclude-pattern>
|
2020-11-08 15:02:45 +01:00
|
|
|
</rule>
|
2018-10-13 00:05:04 +02:00
|
|
|
</ruleset>
|