We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a24f4c9 commit a92b47dCopy full SHA for a92b47d
composer.json
@@ -14,7 +14,8 @@
14
}
15
],
16
"require": {
17
- "php": ">=5.3.0"
+ "php": ">=5.3.0",
18
+ "symfony/intl": "~2.5"
19
},
20
"require-dev": {
21
"phpspec/phpspec": "2.0.*",
phpspec.yml
@@ -1,2 +1,2 @@
1
extensions:
2
- - Coduo\PhpSpec\DataProviderExtension
+ - Coduo\PhpSpec\DataProvider\DataProviderExtension
src/Coduo/ToString/String.php
@@ -67,7 +67,7 @@ private function castBooleanToString()
67
*/
68
private function castDoubleToString()
69
{
70
- $formatter = new \NumberFormatter($this->locale, \NumberFormatter::PATTERN_DECIMAL);
+ $formatter = new \NumberFormatter($this->locale, \NumberFormatter::DEFAULT_STYLE);
71
return $formatter->format($this->value);
72
73
0 commit comments