Skip to content

Commit 46964f4

Browse files
Merge branch '2.7' into 2.8
* 2.7: [Security] fix Composer constraint Provide less state in getRequestFormat fix test class location Static code analysis with Php Inspections (EA Extended): dead code dropped, couple bugs fixed
2 parents 945ef3a + 96695eb commit 46964f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DateFormatter/DateFormat/TimeZoneTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ public static function getEtcTimeZoneId($formattedTimeZone)
9696
return 'Etc/GMT'.($hours !== 0 ? $signal.$hours : '');
9797
}
9898

99-
throw new \InvalidArgumentException('The GMT time zone \'%s\' does not match with the supported formats GMT[+-]HH:MM or GMT[+-]HHMM.');
99+
throw new \InvalidArgumentException(sprintf("The GMT time zone '%s' does not match with the supported formats GMT[+-]HH:MM or GMT[+-]HHMM.", $formattedTimeZone));
100100
}
101101
}

0 commit comments

Comments
 (0)