Skip to content

Commit

Permalink
Merge branch '5.4' into 6.0
Browse files Browse the repository at this point in the history
* 5.4:
  [Process] intersect with getenv() in case-insensitive manner to get default envs
  [Serializer] fix support for lazy/unset properties
  Fix redundant type casts
  [Notifier] Fix AllMySms bridge body content
  Revert "[DoctrineBridge] add support for the JSON type"
  • Loading branch information
nicolas-grekas committed Nov 28, 2021
2 parents e40ca91 + 034ccc0 commit f3064a2
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 @@ -637,7 +637,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 f3064a2

Please sign in to comment.