This file is indexed.

/usr/share/php/TokenReflection/Invalid/ReflectionElement.php is in php-tokenreflection 1.3.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
44
45
46
47
48
49
50
51
52
53
<?php

namespace TokenReflection\Invalid;

use TokenReflection\Exception\BaseException;

/**
 * Invalid element reflection.
 *
 * The reflected element is not unique (by its fully qualified name).
 */
abstract class ReflectionElement
{
	/**
	 * Reasons why this element's reflection is invalid.
	 *
	 * @var array
	 */
	private $reasons = array();

	/**
	 * Adds a reason why this element's reflection is invalid.
	 *
	 * @param \TokenReflection\Exception\BaseException $reason Reason
	 * @return \TokenReflection\Invalid\ReflectionElement
	 */
	public function addReason(BaseException $reason)
	{
		$this->reasons[] = $reason;

		return $this;
	}

	/**
	 * Returns a list of reasons why this element's reflection is invalid.
	 *
	 * @return array
	 */
	public function getReasons()
	{
		return $this->reasons;
	}

	/**
	 * Returns if there are any known reasons why this element's reflection is invalid.
	 *
	 * @return boolean
	 */
	public function hasReasons()
	{
		return !empty($this->reasons);
	}
}