Skip to content

Commit

Permalink
Merge pull request #1 from flyeralarm/testrunner
Browse files Browse the repository at this point in the history
Updated testrunner to new bin
  • Loading branch information
daniel-mueller authored Sep 5, 2017
2 parents 767ef2e + e658e4d commit c5217a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function processDir($dirPath)
}

$fileContent = file_get_contents($dirPath . $file);
$snifferOutput = shell_exec(__DIR__ . '/../bin/fa-coding-guideline-validator "' . $dirPath . $file . '"');
$snifferOutput = shell_exec(__DIR__ . '/../bin/php-code-validator "' . $dirPath . $file . '"');

// expectedPass
if (preg_match('|//\s@expectedPass$|m', $fileContent)) {
Expand Down

0 comments on commit c5217a4

Please sign in to comment.