PHPUnit_Framework_Assert::assertArraySubset
Asserts that an array has a specified subset.
Signature
public function assertArraySubset(array|ArrayAccess
$subset,
[array|ArrayAccess
$array = false,
[boolean
$strict = false,
[string
$message = '']]] )
Parameters
$subset— object
$array— object
$strict— boolean- Check for object identity
$message— string
Violations
Checkstyle
| Line | Column | Severity | Message |
|---|---|---|---|
| 106 | 20 | error | Only one argument is allowed per line in a multi-line function call |
| 112 | 20 | error | Only one argument is allowed per line in a multi-line function call |