From b0572f3e5f750aeb782fd2f3dfc2ef5d3d62e302 Mon Sep 17 00:00:00 2001 From: till Date: Tue, 27 May 2008 18:32:28 +0000 Subject: * 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 --- .../RoundCube/RoundCubeCodingStandard.php | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php (limited to 'tools/PHP_CodeSniffer/CodeSniffer/Standards/RoundCube/RoundCubeCodingStandard.php') 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 @@ + + * @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 + * @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 -- cgit v1.2.3