function TestCompatibilityTrait::assertIsNotNumeric

Provides forward-compatibility for assertIsNotNumeric().

File

core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/TestCompatibilityTrait.php, line 185

Class

TestCompatibilityTrait
Makes Drupal's test API forward compatible with multiple versions of PHPUnit.

Namespace

Drupal\TestTools\PhpUnitCompatibility\PhpUnit6

Code

public static function assertIsNotNumeric($actual, $message = '') {
  static::assertNotInternalType('numeric', $actual, $message);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.