Skip to content

Commit

Permalink
Merge branch '5.3' into 5.4
Browse files Browse the repository at this point in the history
* 5.3:
  [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 4268ae4 + fea5cef commit 01b11a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/NumberFormatter/AbstractNumberFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,12 +666,12 @@ public function parseProvider()
return [
['prefix1', false, '->parse() does not parse a number with a string prefix.', 0],
['prefix1', false, '->parse() does not parse a number with a string prefix.', 0, false],
['1.4suffix', (float) 1.4, '->parse() parses a number with a string suffix.', 3],
['1.4suffix', (float) 1.4, '->parse() parses a number with a string suffix.', 3, false],
['1.4suffix', 1.4, '->parse() parses a number with a string suffix.', 3],
['1.4suffix', 1.4, '->parse() parses a number with a string suffix.', 3, false],
['1,234.4suffix', 1234.4, '->parse() parses a number with a string suffix.', 7],
['1,234.4suffix', 1.0, '->parse() parses a number with a string suffix.', 1, false],
['-.4suffix', (float) -0.4, '->parse() parses a negative dot float with suffix.', 3],
['-.4suffix', (float) -0.4, '->parse() parses a negative dot float with suffix.', 3, false],
['-.4suffix', -0.4, '->parse() parses a negative dot float with suffix.', 3],
['-.4suffix', -0.4, '->parse() parses a negative dot float with suffix.', 3, false],
[',4', false, '->parse() does not parse when invalid grouping used.', 0],
[',4', false, '->parse() does not parse when invalid grouping used.', 0, false],
['123,4', false, '->parse() does not parse when invalid grouping used.', 0],
Expand Down

0 comments on commit 01b11a0

Please sign in to comment.