From 544984601cf563003b36c8ed9a5a61a40daafa93 Mon Sep 17 00:00:00 2001 From: Scott Dutton Date: Wed, 19 Jan 2022 14:42:32 +0000 Subject: [PATCH] Fix mnd output --- src/Loaders/PhpMnd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Loaders/PhpMnd.php b/src/Loaders/PhpMnd.php index 1c0b985..d6346a8 100644 --- a/src/Loaders/PhpMnd.php +++ b/src/Loaders/PhpMnd.php @@ -21,7 +21,7 @@ public function parseLines(): array { while (($line = fgets($this->file)) !== false) { $matches = []; - $pattern = "/^(?[^:]+):(?[0-9]+)\. (?.+)/"; + $pattern = "/^(?[^:]+):(?[0-9]+)\.? (?.+)/"; if (preg_match($pattern, $line, $matches)) { $this->invalidLines [$matches['filename']]