3
* Unit test class for the IncludeSystem sniff.
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: IncludeSystemUnitTest.php,v 1.5 2008/01/31 02:39:32 squiz Exp $
13
* @link http://pear.php.net/package/PHP_CodeSniffer
17
* Unit test class for the IncludeSystem sniff.
19
* A sniff unit test checks a .inc file for expected violations of a single
20
* coding standard. Expected errors and warnings are stored in this class.
23
* @package PHP_CodeSniffer_MySource
24
* @author Greg Sherwood <gsherwood@squiz.net>
25
* @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
26
* @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
27
* @version Release: 1.1.0
28
* @link http://pear.php.net/package/PHP_CodeSniffer
30
class MySource_Tests_Channels_IncludeSystemUnitTest extends AbstractSniffUnitTest
35
* Returns the lines where errors should occur.
37
* The key of the array should represent the line number and the value
38
* should represent the number of errors that should occur on that line.
40
* @return array(int => int)
42
public function getErrorList()
61
* Returns the lines where warnings should occur.
63
* The key of the array should represent the line number and the value
64
* should represent the number of warnings that should occur on that line.
66
* @return array(int => int)
68
public function getWarningList()
72
}//end getWarningList()