Skip to content

Commit

Permalink
#14: Fix phpunit deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLevti committed Apr 5, 2020
1 parent c3935a3 commit f6ecc55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/EventDispatcher/SignalEventDispatcherTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function (SharedMemory $sharedMem) use (&$testSig) {
public function testSignalHandlerInstallFailure(): void
{
$this->expectException(UnexpectedValueException::class);
$this->expectExceptionMessageRegExp(
$this->expectExceptionMessageMatches(
'/Could not get installed signal handler for signal 255./'
);
$this->expectExceptionCode(22);
Expand All @@ -225,7 +225,7 @@ function () {
public function testSignalHandlerInstallErrorHandling(): void
{
$this->expectException(UnexpectedValueException::class);
$this->expectExceptionMessageRegExp(
$this->expectExceptionMessageMatches(
'/Could not install signal handler for signal 255./'
);
$this->expectExceptionCode(22);
Expand Down

0 comments on commit f6ecc55

Please sign in to comment.