From 5d3895371bb14c0aa0c5d889058e28dc21d3a50e Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sun, 21 Feb 2021 20:23:57 +0000 Subject: [PATCH] #2111 - Fix tests in 8.0 --- tests/Extension/Interfaces/InterfaceMethodSignatureTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Extension/Interfaces/InterfaceMethodSignatureTest.php b/tests/Extension/Interfaces/InterfaceMethodSignatureTest.php index d41059fe0b..8dcd622e91 100644 --- a/tests/Extension/Interfaces/InterfaceMethodSignatureTest.php +++ b/tests/Extension/Interfaces/InterfaceMethodSignatureTest.php @@ -32,7 +32,7 @@ public function testImplementInterfaceInMethodSignature(): void public function testImplementInterfaceInMethodSignatureInt(): void { $this->expectException(\TypeError::class); - $this->expectExceptionMessageMatches('/must be of ?(the) type int, bool given/'); + $this->expectExceptionMessageMatches('/must be of (the\s)?type int, bool given/'); (new ImplementInt())->set(true); }