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']]