Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1821026
ruleset.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
1 KB
Subscribers
None
ruleset.xml
View Options
<?xml version="1.0"?>
<ruleset
name=
"sabre.php"
>
<description>
sabre.io codesniffer ruleset
</description>
<!-- Include the whole PSR-1 standard -->
<rule
ref=
"PSR1"
/>
<!-- All PHP files MUST use the Unix LF (linefeed) line ending. -->
<rule
ref=
"Generic.Files.LineEndings"
>
<properties>
<property
name=
"eolChar"
value=
"\n"
/>
</properties>
</rule>
<!-- The closing ?> tag MUST be omitted from files containing only PHP. -->
<rule
ref=
"Zend.Files.ClosingTag"
/>
<!-- There MUST NOT be trailing whitespace at the end of non-blank lines. -->
<rule
ref=
"Squiz.WhiteSpace.SuperfluousWhitespace"
>
<properties>
<property
name=
"ignoreBlankLines"
value=
"true"
/>
</properties>
</rule>
<!-- There MUST NOT be more than one statement per line. -->
<rule
ref=
"Generic.Formatting.DisallowMultipleStatements"
/>
<rule
ref=
"Generic.WhiteSpace.ScopeIndent"
>
<properties>
<property
name=
"ignoreIndentationTokens"
type=
"array"
value=
"T_COMMENT,T_DOC_COMMENT"
/>
</properties>
</rule>
<rule
ref=
"Generic.WhiteSpace.DisallowTabIndent"
/>
<!-- PHP keywords MUST be in lower case. -->
<rule
ref=
"Generic.PHP.LowerCaseKeyword"
/>
<!-- The PHP constants true, false, and null MUST be in lower case. -->
<rule
ref=
"Generic.PHP.LowerCaseConstant"
/>
<!-- <rule ref="Squiz.Scope.MethodScope"/> -->
<rule
ref=
"Squiz.WhiteSpace.ScopeKeywordSpacing"
/>
<!-- In the argument list, there MUST NOT be a space before each comma, and there MUST be one space after each comma. -->
<!--
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
<properties>
<property name="equalsSpacing" value="1"/>
</properties>
</rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint">
<severity>0</severity>
</rule>
-->
<rule
ref=
"PEAR.WhiteSpace.ScopeClosingBrace"
/>
</ruleset>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Mon, Dec 23, 1:16 AM (2 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
906702
Default Alt Text
ruleset.xml (1 KB)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment