Skip to content

Commit 18b0982

Browse files
committed
Remove error ouptut from stdout
1 parent 82f133e commit 18b0982

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PHPCtags.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ function getChildren() {
438438
try {
439439
return new ReadableRecursiveDirectoryIterator($this->getPathname());
440440
} catch(UnexpectedValueException $e) {
441-
echo "\nPHPPCtags: {$e->getMessage()} - {$this->getPathname()}\n";
441+
file_put_contents('php://stderr', "\nPHPPCtags: {$e->getMessage()} - {$this->getPathname()}\n");
442442
return new RecursiveArrayIterator(array());
443443
}
444444
}
445-
}
445+
}

0 commit comments

Comments
 (0)