Skip to content

Commit

Permalink
Merge branch '4.4' into 5.3
Browse files Browse the repository at this point in the history
* 4.4:
  [Process] intersect with getenv() in case-insensitive manner to get default envs
  [Serializer] fix support for lazy/unset properties
  Fix redundant type casts
  Revert "[DoctrineBridge] add support for the JSON type"
  • Loading branch information
nicolas-grekas committed Nov 28, 2021
2 parents 226638a + a19f7c4 commit dc07a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Inline.php
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ private static function evaluateScalar(string $scalar, int $flags, array &$refer
// no break
case \in_array($scalar[0], ['+', '-', '.'], true) || is_numeric($scalar[0]):
if (Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) {
$scalar = str_replace('_', '', (string) $scalar);
$scalar = str_replace('_', '', $scalar);
}

switch (true) {
Expand Down

0 comments on commit dc07a31

Please sign in to comment.