Code Inspection: Deprecated assertContains/assertNotContains usage
Reports deprecated usages of the 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.
Last modified: 08 December 2020