PHPUnit_Framework_Assert::assertAttributeNotContains
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
Signature
public function assertAttributeNotContains(mixed
$needle,
[string
$haystackAttributeName = '',
[mixed
$haystackClassOrObject = '',
[string
$message = '',
[boolean
$ignoreCase = false,
[boolean
$checkForObjectIdentity = true,
[boolean
$checkForNonObjectIdentity = false]]]]]] )
Parameters
$needle
—
mixed
$haystackAttributeName
—
string
$haystackClassOrObject
—
mixed
$message
—
string
$ignoreCase
—
boolean
$checkForObjectIdentity
—
boolean
$checkForNonObjectIdentity
—
boolean
Violations
Checkstyle
Line |
Column |
Severity |
Message |
264 |
215 |
warning
|
Line exceeds 120 characters; contains 214 characters |