Skip to content

Commit c312c57

Browse files
Merge branch '6.2' into 6.3
* 6.2: Avoid call on null [Notifier] Document Firebase options object in readme [ErrorHandler] Fix sending Vary header with SerializerErrorRenderer Fix intl data tests Improve the description of the Intl component [DoctrineBridge] fix issue with missing stopwatch events [HttpClient] Fix canceling MockResponse
2 parents 6f4c5ef + 10b75bd commit c312c57

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
Intl Component
22
=============
33

4-
The Intl component provides a PHP replacement layer for the C intl extension
5-
that also provides access to the localization data of the ICU library.
6-
7-
The replacement layer is limited to the locale "en". If you want to use other
8-
locales, you should [install the intl PHP extension][0] instead.
4+
The Intl component provides access to the localization data of the ICU library.
95

106
Resources
117
---------
@@ -15,7 +11,3 @@ Resources
1511
* [Report issues](https://github.com/symfony/symfony/issues) and
1612
[send Pull Requests](https://github.com/symfony/symfony/pulls)
1713
in the [main Symfony repository](https://github.com/symfony/symfony)
18-
* [Docker images with intl support](https://hub.docker.com/r/jakzal/php-intl)
19-
(for the Intl component development)
20-
21-
[0]: https://php.net/intl.setup

Tests/CurrenciesTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ public function testGetNumericCodeFailsIfNoNumericEquivalent($currency)
736736

737737
public static function provideValidNumericCodes()
738738
{
739-
$numericToAlpha3 = $this->getNumericToAlpha3Mapping();
739+
$numericToAlpha3 = self::getNumericToAlpha3Mapping();
740740

741741
return array_map(
742742
fn ($numeric, $alpha3) => [$numeric, $alpha3],
@@ -761,7 +761,7 @@ public function testForNumericCode($numeric, $expected)
761761

762762
public static function provideInvalidNumericCodes()
763763
{
764-
$validNumericCodes = array_keys($this->getNumericToAlpha3Mapping());
764+
$validNumericCodes = array_keys(self::getNumericToAlpha3Mapping());
765765
$invalidNumericCodes = array_diff(range(0, 1000), $validNumericCodes);
766766

767767
return array_map(
@@ -791,7 +791,7 @@ public function testExists()
791791
$this->assertFalse(Currencies::exists('XXX'));
792792
}
793793

794-
private function getNumericToAlpha3Mapping()
794+
private static function getNumericToAlpha3Mapping()
795795
{
796796
$numericToAlpha3 = [];
797797

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "symfony/intl",
33
"type": "library",
4-
"description": "Provides a PHP replacement layer for the C intl extension that includes additional data from the ICU library",
4+
"description": "Provides access to the localization data of the ICU library",
55
"keywords": ["intl", "icu", "internationalization", "localization", "i18n", "l10n"],
66
"homepage": "https://symfony.com",
77
"license": "MIT",

0 commit comments

Comments
 (0)