* Polyfill for phpunit6. */
($needle, $haystack)
| 16 | * Polyfill for phpunit6. |
| 17 | */ |
| 18 | static public function assertStringContains($needle, $haystack) |
| 19 | { |
| 20 | if (function_exists('PHPUnit\Framework\assertStringContainsString')) { |
| 21 | parent::assertStringContainsString($needle, $haystack); |
| 22 | } else { |
| 23 | parent::assertContains($needle, $haystack); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Polyfill for phpunit6. |
no outgoing calls
no test coverage detected