-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpcs.xml
More file actions
23 lines (23 loc) · 893 Bytes
/
phpcs.xml
File metadata and controls
23 lines (23 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<!-- derived from VuFind standards -->
<ruleset name="VuOwma Coding Standards" namespace="VuOwma\PHPCS">
<description>Coding standards for VuOwma.</description>
<file>bin</file>
<file>src</file>
<arg name="extensions" value="php"/>
<!-- We only use PEAR to ensure complete comments at this time -->
<rule ref="PEAR.Commenting">
<exclude name="PEAR.Commenting.FunctionComment.ParamCommentAlignment" />
</rule>
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
<rule ref="Generic.Commenting.DocComment"/>
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
<!-- Lines can be 120 chars long, but never show errors -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
<rule ref="PSR12" />
</ruleset>