PHPUnit_Framework_Assert::attributeEqualTo
Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.
Signature
public function attributeEqualTo(string
$attributeName,
[mixed
$value = 0.0,
[float
$delta = 0.0,
[integer
$maxDepth = 10,
[boolean
$canonicalize = false,
[boolean
$ignoreCase = false]]]]] )
Parameters
$attributeName
—
string
$value
—
mixed
$delta
—
float
$maxDepth
—
integer
$canonicalize
—
boolean
$ignoreCase
—
boolean
Returns
- PHPUnit_Framework_Constraint_Attribute
Violations
Checkstyle
Line |
Column |
Severity |
Message |
2635 |
142 |
warning
|
Line exceeds 120 characters; contains 141 characters |