mirror of
https://github.com/Respect/Validation.git
synced 2024-06-03 06:12:17 +02:00
b7043b2652
The tool we used to verify whether the code base has the correct coding
standard was removed [1].
This commit will set up one that works best for us and will also make
sure we have fully compliant to PS1 and PSR2.
[1]: ffec95acda
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
19 lines
506 B
XML
19 lines
506 B
XML
<?xml version="1.0"?>
|
|
<ruleset
|
|
name="PHPCS Coding Standards for Respect"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
|
|
>
|
|
<arg name="basepath" value="." />
|
|
<arg name="cache" value=".phpcs.cache" />
|
|
<arg name="colors" />
|
|
<arg name="extensions" value="php,phpt" />
|
|
<arg value="p" />
|
|
|
|
<file>library/</file>
|
|
<file>tests/</file>
|
|
|
|
<rule ref="PSR1" />
|
|
<rule ref="PSR2" />
|
|
</ruleset>
|