assertContains and assertContains functions with string $needle and $ignoreCase parameter.
The string $needle and optional $ignoreCase parameters
of the assertContains and assertNotContains functions are deprecated and will be removed in PHPUnit 9.
See Usage of the assertEquals function (phpunit.readthedocs.io) for details.