Skip to content

Commit 02114be

Browse files
committed
Merge branch 'feature/squiz-jslint-bugfix' of https://github.com/jrfnl/PHP_CodeSniffer
2 parents c93066f + e9a62e5 commit 02114be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Standards/Squiz/Sniffs/Debug/JSLintSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function register()
4848
*/
4949
public function process(File $phpcsFile, $stackPtr)
5050
{
51-
$rhinoPath = Config::getExecutablePath('jslint');
51+
$rhinoPath = Config::getExecutablePath('rhino');
5252
$jslintPath = Config::getExecutablePath('jslint');
5353
if ($rhinoPath === null || $jslintPath === null) {
5454
return;

0 commit comments

Comments
 (0)