/usr/share/php/Horde/Constraint/IsEqual.php is in php-horde-constraint 2.0.1-7.
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 | <?php
/**
* Checks for equality
*
* Based on PHPUnit_Framework_Constraint_IsEqual
*
* @author James Pepin <james@jamespepin.com>
*/
class Horde_Constraint_IsEqual implements Horde_Constraint
{
private $_value;
public function __construct($value)
{
$this->_value = $value;
}
public function evaluate($value)
{
return $this->_value == $value;
}
}
|