This file is indexed.

/usr/share/php/Horde/Argv/TitledHelpFormatter.php is in php-horde-argv 2.0.9-4.

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
27
28
29
30
31
32
33
34
35
36
37
38
<?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
 */

/**
 * Format help with underlined section headers.
 *
 * @category Horde
 * @package  Argv
 */
class Horde_Argv_TitledHelpFormatter extends Horde_Argv_HelpFormatter
{
    public function __construct(
        $indent_increment = 0,
        $max_help_position = 24,
        $width = null,
        $short_first = false)
    {
        parent::__construct($indent_increment, $max_help_position, $width, $short_first);
    }

    public function formatUsage($usage)
    {
        return sprintf("%s  %s\n", $this->formatHeading(Horde_Argv_Translation::t("Usage")), $usage);
    }

    public function formatHeading($heading)
    {
        $prefix = array('=', '-');
        return sprintf("%s\n%s\n", $heading, str_repeat($prefix[$this->level], strlen($heading)));
    }

}