protected function CoderSniffUnitTest::setUp in Coder 7.2
Sets up this unit test.
Return value
void
File
- coder_sniffer/
Test/ CoderSniffUnitTest.php, line 27
Class
- CoderSniffUnitTest
- An abstract class that all sniff unit tests must extend.
Code
protected function setUp() {
if (self::$phpcs === null) {
self::$phpcs = new PHP_CodeSniffer();
}
}