summaryrefslogtreecommitdiff
path: root/tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php
diff options
context:
space:
mode:
authortill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-27 18:32:28 +0000
committertill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-27 18:32:28 +0000
commitb0572f3e5f750aeb782fd2f3dfc2ef5d3d62e302 (patch)
treee44c75b7be3ec79a129b1d8ba329ac89a7153d0a /tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php
parent33186e56e3eaa39162a657f5c7a41b55aa7ce414 (diff)
* initial check in tools and structure for RoundCube standard based on PHP_CodeSniffer
git-svn-id: https://svn.roundcube.net/trunk@1435 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php')
-rw-r--r--tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php b/tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php
new file mode 100644
index 000000000..5b6dbf3cb
--- /dev/null
+++ b/tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php
@@ -0,0 +1,34 @@
+<?php
+/**
+ * MyStandard Coding Standard.
+ *
+ * PHP version 5
+ *
+ * @category PHP
+ * @package PHP_CodeSniffer
+ * @author Till Klampaeckel <till@php.net>
+ * @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
+ * @version CVS: $Id: $
+ * @link http://pear.php.net/package/PHP_CodeSniffer
+ */
+
+require_once 'PHP/CodeSniffer/Standards/CodingStandard.php';
+
+/**
+ * RoundCube Standard.
+ *
+ * @category PHP
+ * @package PHP_CodeSniffer
+ * @author Till Klampaeckel <till@php.net>
+ * @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
+ * @version Release: @package_version@
+ * @link http://pear.php.net/package/PHP_CodeSniffer
+ */
+class PHP_CodeSniffer_Standards_RoundCube_RoundCubeCodingStandard extends PHP_CodeSniffer_Standards_CodingStandard
+{
+ public function getIncludedSniffs()
+ {
+ return array('PEAR');
+ }
+
+}//end class