<?xml version="1.0"?>
<ruleset name="PSR2-Custom">
<description>PSR2 based ruleset</description>
<!-- Config -->
<config name="ignore_errors_on_exit" value ="1" />
<config name="ignore_warnings_on_exit" value ="1" />
<!-- Arguments -->
<!--<arg name="report" value="summary"/>-->
<!-- Options -->
<arg name="colors" />
<arg value="sp" />
<!-- Base ruleset -->
<rule ref="PSR2" />
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>./tests/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>./src/Facades/Scalars/StringFacade.php</exclude-pattern>
<exclude-pattern>./src/Scalars/StringObject.php</exclude-pattern>
<exclude-pattern>./src/Support/Character.php</exclude-pattern>
</rule>
<!-- Custom Rules -->
<!-- Folders and files -->
<file>./src</file>
<file>./tests</file>
</ruleset>
|