You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
850 B
23 lines
850 B
2 years ago
|
<?xml version="1.0"?>
|
||
|
<ruleset name="OpenEMR Standard for PSR-4 src directory">
|
||
|
<description>PSR-12 only for PSR-4 compliant src directory</description>
|
||
|
<arg name="tab-width" value="4" />
|
||
|
<rule ref="PSR12">
|
||
|
<!-- Can insert excludes here like in phpcs.xml. -->
|
||
|
</rule>
|
||
|
|
||
|
<!-- Checks that the opening PHP tag is the first content in a file. -->
|
||
|
<rule ref="Generic.PHP.CharacterBeforePHPOpeningTag" />
|
||
|
|
||
|
<!-- Indenting -->
|
||
|
<!-- Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting. -->
|
||
|
<rule ref="Generic.WhiteSpace.ScopeIndent">
|
||
|
<properties>
|
||
|
<property name="ignoreIndentationTokens" type="array">
|
||
|
<element value="T_COMMENT"/>
|
||
|
<element value="T_DOC_COMMENT_OPEN_TAG" />
|
||
|
</property>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
</ruleset>
|