File: libs/codesniffer/PhOSCo/ruleset.xml

Recommend this page to a friend!
  Classes of Michael Cummings  >  PHP SQL Parser Class  >  libs/codesniffer/PhOSCo/ruleset.xml  >  Download  
File: libs/codesniffer/PhOSCo/ruleset.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP SQL Parser Class
Parse SQL to extract the SQL query structure
Author: By
Last change:
Date: 2 years ago
Size: 758 bytes
 

 

Contents

Class file image Download
<?xml version="1.0"?>
<ruleset name="PhOSCo">
	<description>A custom coding standard for PHP-SQL-Parser.</description>

	<rule ref="Generic.Files.EndFileNewline" />

	<rule ref="PEAR">
		<exclude name="Generic.Files.LineLength" />
		<exclude name="PEAR.Classes.ClassDeclaration" />
		<exclude name="PEAR.Functions.FunctionDeclaration" />
		<exclude name="PEAR.Commenting.FileComment" />
		<exclude name="PEAR.Commenting.ClassComment" />
		<exclude name="PEAR.ControlStructures.MultiLineCondition" />
	</rule>

	<!-- 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>

</ruleset>

For more information send a message to info at phpclasses dot org.