PHPUnit_Framework_Assert::assertAttributeNotContainsOnly
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.
Signature
public function assertAttributeNotContainsOnly(string
$type,
[string
$haystackAttributeName = null,
[mixed
$haystackClassOrObject = null,
[boolean
$isNativeType = null,
[string
$message = '']]]] )
Parameters
$type
—
string
$haystackAttributeName
—
string
$haystackClassOrObject
—
mixed
$isNativeType
—
boolean
$message
—
string
Violations
Checkstyle
Line |
Column |
Severity |
Message |
404 |
150 |
warning
|
Line exceeds 120 characters; contains 149 characters |