Skip to content

Commit

Permalink
preg_match(): Passing null to parameter #2 ($subject) of type string …
Browse files Browse the repository at this point in the history
…is deprecated
  • Loading branch information
escopecz committed Jun 9, 2023
1 parent 7cee7e6 commit abeeb34
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@ public function testThatReplyIsDetectedThroughTrackingPixelWithUnsubcribeLink()
*
* @covers \Mautic\EmailBundle\MonitoredEmail\Processor\Reply\Parser::parse()
*/
public function testExceptionIsThrownWithHashNotFound()
public function testExceptionIsThrownWithHashNotFound(): void
{
$this->expectException(ReplyNotFound::class);

$message = new Message();
$parser = new Parser($message);
$message = new Message();
$message->textHtml = 'some html';

$parser = new Parser($message);

$parser->parse();
}
Expand Down

0 comments on commit abeeb34

Please sign in to comment.