We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f72b2f commit 2307417Copy full SHA for 2307417
lib/Parser/Parser.php
@@ -45,7 +45,7 @@ public static function buildTree(string $reportData) : TimingsReport{
45
$groupTotals = [];
46
47
$formatVersion = self::VERSION_INITIAL;
48
- if(preg_match('/^# FormatVersion (\d+)$/mi', $reportData, $matches)){
+ if(preg_match('/(*ANYCRLF)^# FormatVersion (\d+)$/mi', $reportData, $matches)){
49
$formatVersion = (int) $matches[1];
50
}
51
0 commit comments