Page MenuHomePhorge

D4662.id13401.diff
No OneTemporary

D4662.id13401.diff

diff --git a/tests/SyncTestCase.php b/tests/SyncTestCase.php
--- a/tests/SyncTestCase.php
+++ b/tests/SyncTestCase.php
@@ -364,10 +364,10 @@
/**
* adapter for phpunit < 9
*/
- protected function assertMatchesRegularExpression($arg1, $arg2)
+ public static function assertMatchesRegularExpression(string $arg1, string $arg2, string $message = ''): void
{
if (method_exists("PHPUnit\Framework\TestCase", "assertMatchesRegularExpression")) {
- parent::assertMatchesRegularExpression($arg1, $arg2);
+ parent::assertMatchesRegularExpression($arg1, $arg2, $message);
} else {
parent::assertRegExp($arg1, $arg2);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 31, 8:12 AM (5 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10074807
Default Alt Text
D4662.id13401.diff (699 B)

Event Timeline