for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* CodingStandard_Tests_NamingConventions_ValidInterfaceNameUnitTest.
*
* PHP version 5
* @category PHP
* @package PHP_CodeSniffer
* @author Alexander Obuhovich <[email protected]>
* @license https://github.com/aik099/CodingStandard/blob/master/LICENSE BSD 3-Clause
* @link https://github.com/aik099/CodingStandard
*/
namespace CodingStandard\Tests\NamingConventions;
use TestSuite\AbstractSniffUnitTest;
* Unit test class for the ValidInterfaceName sniff.
class ValidInterfaceNameUnitTest extends AbstractSniffUnitTest
{
* Returns the lines where errors should occur.
* The key of the array should represent the line number and the value
* should represent the number of errors that should occur on that line.
* @param string $testFile Name of the file with test data.
* @return array(int => int)
public function getErrorList($testFile)
return array(
2 => 1,
5 => 1,
);
}//end getErrorList()
* Returns the lines where warnings should occur.
* should represent the number of warnings that should occur on that line.
public function getWarningList($testFile)
return array();
}//end getWarningList()
}//end class