function TestCompatibilityTrait::assertIsNotArray
Same name in this branch
- 8.9.x core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/TestCompatibilityTrait.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\TestCompatibilityTrait::assertIsNotArray()
Provides forward-compatibility for assertIsNotArray().
File
-
core/
tests/ Drupal/ TestTools/ PhpUnitCompatibility/ PhpUnit6/ TestCompatibilityTrait.php, line 157
Class
- TestCompatibilityTrait
- Makes Drupal's test API forward compatible with multiple versions of PHPUnit.
Namespace
Drupal\TestTools\PhpUnitCompatibility\PhpUnit6Code
public static function assertIsNotArray($actual, $message = '') {
static::assertNotInternalType('array', $actual, $message);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.