friendica-github/ruleset.xml
Hypolite Petovan 143a0e3bc6 Improve PHP Code Sniffer ruleset
- Pull Friendica specifics from
vendor/pear/text_languagedetect/phpcs.xml
- Revert changes to vendor/pear/text_languagedetect/phpcs.xml
2018-01-08 23:37:18 -05:00

15 lines
549 B
XML

<?xml version="1.0"?>
<ruleset name="Friendica">
<description>Friendica Coding Standards: PSR2 with tabs instead of spaces</description>
<arg name="tab-width" value="4"/>
<rule ref="PSR2">
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
</rule>
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="4"/>
<property name="tabIndent" value="true"/>
</properties>
</rule>
</ruleset>