1 | <?php |
||
19 | trait PhpUnitCompat |
||
20 | { |
||
21 | /** |
||
22 | * TestCase::expectExceptionMessageRegExp() is deprecated since PHPUnit 8.4. |
||
23 | */ |
||
24 | public function expectExceptionMessageMatches(string $regularExpression) : void |
||
30 | |||
31 | /** |
||
32 | * Assert::assertEquals()'s $delta, $maxDepth, $canonicalize parameters are deprecated since PHPUnit 8.0. |
||
33 | */ |
||
34 | public static function assertEqualsCanonicalizing($expected, $actual, string $message = '') : void |
||
40 | |||
41 | /** |
||
42 | * Assert::assertRegExp() is deprecated since PHPUnit 9.1. |
||
43 | */ |
||
44 | public static function assertMatchesRegularExpression(string $pattern, string $string, string $message = '') : void |
||
50 | } |
||
51 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.