Prevent scrutinizer-ci from complaining about these fall-thoughs.
This commit is contained in:
parent
506e699f8a
commit
afc01fda5f
@ -167,8 +167,11 @@ function parse_shorthand_int($limit) {
|
|||||||
$value = $m[1];
|
$value = $m[1];
|
||||||
if (isset($m[2])) {
|
if (isset($m[2])) {
|
||||||
switch(strtolower($m[2])) {
|
switch(strtolower($m[2])) {
|
||||||
|
/** @noinspection PhpMissingBreakStatementInspection */
|
||||||
case 'g': $value *= 1024; // fall through
|
case 'g': $value *= 1024; // fall through
|
||||||
|
/** @noinspection PhpMissingBreakStatementInspection */
|
||||||
case 'm': $value *= 1024; // fall through
|
case 'm': $value *= 1024; // fall through
|
||||||
|
/** @noinspection PhpMissingBreakStatementInspection */
|
||||||
case 'k': $value *= 1024; break;
|
case 'k': $value *= 1024; break;
|
||||||
default: $value = -1;
|
default: $value = -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user