26 lines
872 B
XML
26 lines
872 B
XML
|
<?xml version="1.0"?>
|
||
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
name="Inwebs"
|
||
|
namespace="Inwebs\PhpCodesniffer\Inwebs"
|
||
|
xsi:noNamespaceSchemaLocation="../../vendor/squizlabs/php_codesniffer/phpcs.xsd">
|
||
|
<description>IN.WEBS PHP_CodeSniffer standard</description>
|
||
|
|
||
|
<!-- Base standard -->
|
||
|
<rule ref="DigiComp"/>
|
||
|
|
||
|
<rule ref="Generic.Formatting.SpaceAfterNot">
|
||
|
<properties>
|
||
|
<property name="spacing" value="0"/>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
<rule ref="Squiz.Commenting.VariableComment.Missing">
|
||
|
<type>error</type>
|
||
|
<severity>6</severity>
|
||
|
</rule>
|
||
|
|
||
|
<!-- TODO: Enforcement of doc types for methods -->
|
||
|
<!-- TODO: Never use /** inside of methods -->
|
||
|
<!-- TODO: Exception code should be unix timestamp (if possible), might be difficult to test -->
|
||
|
|
||
|
</ruleset>
|