예제 #1
0
 public static function setUpBeforeClass()
 {
     $reportFile = __DIR__ . '/../../../tmp/phpcs_report.xml';
     self::$_cmd = new Inspection_CodeSniffer_Command(realpath(__DIR__ . '/../_files/phpcs'), $reportFile);
 }
예제 #2
0
 public static function setUpBeforeClass()
 {
     self::$_reportFile = __DIR__ . '/../../../tmp/phpcs_report.xml';
     $wrapper = new CodingStandard_Tool_CodeSniffer_Wrapper();
     self::$_cmd = new CodingStandard_Tool_CodeSniffer(realpath(__DIR__ . '/../_files/phpcs'), self::$_reportFile, $wrapper);
 }