04ec8fedd9
Relates to https://github.com/shaarli/Shaarli/issues/95 See: - https://github.com/squizlabs/PHP_CodeSniffer - https://github.com/squizlabs/PHP_CodeSniffer/blob/master/phpcs.xml.dist - https://www.php-fig.org/psr/psr-1/ - https://www.php-fig.org/psr/psr-2/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
17 lines
370 B
XML
17 lines
370 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="Shaarli">
|
|
<description>The Shaarli coding standards</description>
|
|
|
|
<file>index.php</file>
|
|
<file>application</file>
|
|
<file>plugins</file>
|
|
<file>tests</file>
|
|
|
|
<exclude-pattern>*/*.css</exclude-pattern>
|
|
<exclude-pattern>*/*.js</exclude-pattern>
|
|
|
|
<arg name="colors"/>
|
|
|
|
<rule ref="PSR1"/>
|
|
<rule ref="PSR2"/>
|
|
</ruleset>
|