mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-01 03:16:11 +01:00
24 lines
769 B
Text
24 lines
769 B
Text
|
<?xml version="1.0"?>
|
||
|
<ruleset name="search_core">
|
||
|
<description>The coding standard for search_core.</description>
|
||
|
|
||
|
<file>Classes/</file>
|
||
|
<file>Tests/</file>
|
||
|
|
||
|
<!-- Set default settings -->
|
||
|
<arg value="sp"/>
|
||
|
<arg name="colors"/>
|
||
|
<arg name="encoding" value="utf-8" />
|
||
|
<arg name="extensions" value="php,php.dist,inc" />
|
||
|
|
||
|
<!-- Base rules -->
|
||
|
<rule ref="PSR2">
|
||
|
<!-- As it does not work with new array syntax. -->
|
||
|
<exclude name="Squiz.Arrays.ArrayBracketSpacing.SpaceBeforeBracket" />
|
||
|
</rule>
|
||
|
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
|
||
|
<!-- We have to follow the TYPO3 hook method names. -->
|
||
|
<exclude-pattern>Classes/Hook/DataHandler.php</exclude-pattern>
|
||
|
</rule>
|
||
|
</ruleset>
|