This file is indexed.

/usr/share/php/SebastianBergmann/PHPCPD/autoload.php is in phpcpd 2.0.1-1.

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
39
40
41
42
43
<?php
require_once 'Symfony/Component/ClassLoader/ClassLoader.php';
use Symfony\Component\ClassLoader\ClassLoader;
$loader = new ClassLoader();
$loader->setUseIncludePath(true);
$loader->register();
//$loader->addPrefixes(array(
//));
require_once 'SebastianBergmann/Version/autoload.php';

spl_autoload_register(
  function ($class)
  {
      static $classes = NULL;
      static $path    = NULL;

      if ($classes === NULL) {
          $classes = array(
              'phpcpd_detectortest' => '/../tests/DetectorTest.php',
                'phpundercontrol_example_math' => '/../tests/_files/Math.php',
                'sebastianbergmann\\phpcpd\\cli\\application' => '/CLI/Application.php',
                'sebastianbergmann\\phpcpd\\cli\\command' => '/CLI/Command.php',
                'sebastianbergmann\\phpcpd\\codeclone' => '/CodeClone.php',
                'sebastianbergmann\\phpcpd\\codeclonefile' => '/CodeCloneFile.php',
                'sebastianbergmann\\phpcpd\\codeclonemap' => '/CodeCloneMap.php',
                'sebastianbergmann\\phpcpd\\detector\\detector' => '/Detector/Detector.php',
                'sebastianbergmann\\phpcpd\\detector\\strategy\\abstractstrategy' => '/Detector/Strategy/Abstract.php',
                'sebastianbergmann\\phpcpd\\detector\\strategy\\defaultstrategy' => '/Detector/Strategy/Default.php',
                'sebastianbergmann\\phpcpd\\log\\abstractxmllogger' => '/Log/AbstractXmlLogger.php',
                'sebastianbergmann\\phpcpd\\log\\pmd' => '/Log/PMD.php',
                'sebastianbergmann\\phpcpd\\log\\text' => '/Log/Text.php'
          );

          $path = dirname(__FILE__);
      }

      $cn = strtolower($class);

      if (isset($classes[$cn])) {
          require $path . $classes[$cn];
      }
  }
);