3
* Unit test class for the OpeningFunctionBraceBsdAllman sniff.
8
* @package PHP_CodeSniffer
9
* @author Greg Sherwood <gsherwood@squiz.net>
10
* @author Marc McIntyre <mmcintyre@squiz.net>
11
* @copyright 2006-2011 Squiz Pty Ltd (ABN 77 084 670 600)
12
* @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
13
* @link http://pear.php.net/package/PHP_CodeSniffer
17
* Unit test class for the OpeningFunctionBraceBsdAllman 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
24
* @author Greg Sherwood <gsherwood@squiz.net>
25
* @author Marc McIntyre <mmcintyre@squiz.net>
26
* @copyright 2006-2011 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.3.4
29
* @link http://pear.php.net/package/PHP_CodeSniffer
31
class Generic_Tests_Functions_OpeningFunctionBraceBsdAllmanUnitTest extends AbstractSniffUnitTest
36
* Returns the lines where errors should occur.
38
* The key of the array should represent the line number and the value
39
* should represent the number of errors that should occur on that line.
41
* @return array(int => int)
43
public function getErrorList()
71
* Returns the lines where warnings should occur.
73
* The key of the array should represent the line number and the value
74
* should represent the number of warnings that should occur on that line.
76
* @return array(int => int)
78
public function getWarningList()
82
}//end getWarningList()