<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
    <description>The coding standard for PHP_CodeSniffer itself.</description>

    <rule ref="PEAR">
		<exclude name="PEAR.Commenting.FileComment.WrongStyle"/>
		<exclude name="PEAR.Commenting.ClassComment.WrongStyle"/>
		<exclude name="PEAR.Commenting.FunctionComment.WrongStyle"/>
		<exclude name="PEAR.Commenting.FunctionComment.SpacingAfterParamName"/>
        <exclude name="PEAR.Commenting.FileComment.MissingVersion"/>
        <exclude name="PEAR.Commenting.FileComment.MissingAuthorTag"/>
        <exclude name="PEAR.Commenting.FileComment.MissingLicenseTag"/>
        <exclude name="PEAR.Commenting.FileComment.MissingPackageTag"/>
        <exclude name="PEAR.Commenting.FileComment.MissingCategoryTag"/>
        <exclude name="PEAR.Commenting.FileComment.MissingLinkTag"/>
        <exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag"/>
        <exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
        <exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
        <exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
        <exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
        <exclude name="PEAR.Classes.ClassDeclaration.SpaceBeforeBrace"/>
        <exclude name="PEAR.Classes.ClassDeclaration.OpenBraceNotAlone"/>
        <exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps"/>
    </rule>

    <rule ref="Generic.Files.LineLength">
		<exclude name="Generic.Files.LineEndings.InvalidEOLChar" />
		<exclude name="Generic.WhiteSpace.DisallowTabIndent.TabsUsed" />
        <properties>
            <property name="lineLimit" value="700"/>
            <property name="absoluteLineLimit" value="0"/>
        </properties>
    </rule>
	
	<rule ref="Internal.LineEndings.Mixed">
		<severity>0</severity>
	</rule>
	<!-- All PHP files MUST use the Unix LF (linefeed) line ending. -->
	 <rule ref="Generic.Files.LineEndings">
	  <properties>
	   <property name="eolChar" value="\n"/>
	  </properties>
	 </rule>

</ruleset>
