Skip to content

Commit a0e1568

Browse files
Merge branch '3.3' into 3.4
* 3.3: CS fixes
2 parents 870c996 + 2e2015b commit a0e1568

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Inline.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,11 +702,13 @@ private static function evaluateScalar($scalar, $flags, $references = array())
702702
}
703703

704704
// Optimize for returning strings.
705+
// no break
705706
case '+' === $scalar[0] || '-' === $scalar[0] || '.' === $scalar[0] || is_numeric($scalar[0]):
706707
switch (true) {
707708
case Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar):
708709
$scalar = str_replace('_', '', (string) $scalar);
709710
// omitting the break / return as integers are handled in the next case
711+
// no break
710712
case ctype_digit($scalar):
711713
$raw = $scalar;
712714
$cast = (int) $scalar;

0 commit comments

Comments
 (0)