Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * MySource Coding Standard.
4
 *
5
 * PHP version 5
6
 *
7
 * @category  PHP
8
 * @package   PHP_CodeSniffer_MySource
9
 * @author    Greg Sherwood <gsherwood@squiz.net>
10
 * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
11
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
12
 * @version   CVS: $Id: MySourceCodingStandard.php 240383 2007-07-27 05:38:59Z squiz $
13
 * @link      http://pear.php.net/package/PHP_CodeSniffer
14
 */
15
 
16
if (class_exists('PHP_CodeSniffer_Standards_CodingStandard', true) === false) {
17
    throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_CodingStandard not found');
18
}
19
 
20
/**
21
 * MySource Coding Standard.
22
 *
23
 * @category  PHP
24
 * @package   PHP_CodeSniffer_MySource
25
 * @author    Greg Sherwood <gsherwood@squiz.net>
26
 * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
27
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
28
 * @version   Release: 1.2.1
29
 * @link      http://pear.php.net/package/PHP_CodeSniffer
30
 */
31
class PHP_CodeSniffer_Standards_MySource_MySourceCodingStandard extends PHP_CodeSniffer_Standards_CodingStandard
32
{
33
 
34
 
35
    /**
36
     * Return a list of external sniffs to include with this standard.
37
     *
38
     * The MySource standard is an extension of the Squiz standard, with
39
     * specific tests for the MySource CMS, so include the whole Squiz standard.
40
     *
41
     * @return array
42
     */
43
    public function getIncludedSniffs()
44
    {
45
        return array(
46
                'Squiz',
47
               );
48
 
49
    }//end getIncludedSniffs()
50
 
51
 
52
}//end class
53
?>