/usr/share/php/tests/Horde_Argv/Horde/Argv/InterceptingParser.php is in php-horde-argv 2.0.7-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <?php
require_once __DIR__ . '/InterceptedException.php';
/**
* @author Chuck Hagenbuch <chuck@horde.org>
* @author Mike Naberezny <mike@maintainable.com>
* @license http://www.horde.org/licenses/bsd BSD
* @category Horde
* @package Argv
* @subpackage UnitTests
*/
class Horde_Argv_InterceptingParser extends Horde_Argv_Parser
{
public function parserExit($status = 0, $msg = null)
{
throw new Horde_Argv_InterceptedException(null, $status, $msg);
}
public function parserError($msg)
{
throw new Horde_Argv_InterceptedException($msg);
}
}
|