From afc01fda5f282b6109cf666b50e3158afa685c1d Mon Sep 17 00:00:00 2001 From: jgen Date: Thu, 24 Apr 2014 01:36:04 -0400 Subject: [PATCH] Prevent scrutinizer-ci from complaining about these fall-thoughs. --- core/util.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/util.inc.php b/core/util.inc.php index b2dfa436..e724c690 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -167,8 +167,11 @@ function parse_shorthand_int($limit) { $value = $m[1]; if (isset($m[2])) { switch(strtolower($m[2])) { + /** @noinspection PhpMissingBreakStatementInspection */ case 'g': $value *= 1024; // fall through + /** @noinspection PhpMissingBreakStatementInspection */ case 'm': $value *= 1024; // fall through + /** @noinspection PhpMissingBreakStatementInspection */ case 'k': $value *= 1024; break; default: $value = -1; }