phpcs-ruleset.xml
<?xml version="1.0"?>
<ruleset name="imagesweserv">
<!-- Set a description for this ruleset -->
<description>wsrv.nl coding standard. Inherits from PSR-2.</description>
<!-- Check all files in this directory and the directories below it -->
<file>.</file>
<!-- Ignore Composer dependencies -->
<exclude-pattern>vendor/</exclude-pattern>
<!-- Display progress -->
<arg value="p"/>
<!-- Only check PHP files -->
<arg name="extensions" value="php"/>
<!-- Include the whole PSR-2 standard -->
<rule ref="PSR2"/>
<!-- Exclude this rule for the public index -->
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>public/index.php</exclude-pattern>
</rule>
<!-- File contains HTML or has config values -->
<rule ref="Generic.Files.LineLength">
<exclude-pattern>public/index.php</exclude-pattern>
<exclude-pattern>config.example.php</exclude-pattern>
</rule>
</ruleset>