[Intl] Switch from json to php resources

by @jakzal

Some issues have been detected in this pull request

0
Coding Standard

0
Common Typos

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/34214/85630acdc0dd18812a5448a1602668bc35715d85/license.diff | patch -p0
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/af.php src/Symfony/Component/Intl/Resources/data/currencies/af.php
--- src/Symfony/Component/Intl/Resources/data/currencies/af.php	2019-11-07 11:59:09.876220281 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/af.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/af_NA.php src/Symfony/Component/Intl/Resources/data/currencies/af_NA.php
--- src/Symfony/Component/Intl/Resources/data/currencies/af_NA.php	2019-11-07 11:59:10.080212117 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/af_NA.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ak.php src/Symfony/Component/Intl/Resources/data/currencies/ak.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ak.php	2019-11-07 11:59:10.332202033 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ak.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/am.php src/Symfony/Component/Intl/Resources/data/currencies/am.php
--- src/Symfony/Component/Intl/Resources/data/currencies/am.php	2019-11-07 11:59:10.573192389 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/am.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ar.php src/Symfony/Component/Intl/Resources/data/currencies/ar.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ar.php	2019-11-07 11:59:11.056173061 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ar.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ar_DJ.php src/Symfony/Component/Intl/Resources/data/currencies/ar_DJ.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ar_DJ.php	2019-11-07 11:59:11.260164898 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ar_DJ.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ar_ER.php src/Symfony/Component/Intl/Resources/data/currencies/ar_ER.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ar_ER.php	2019-11-07 11:59:11.469156534 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ar_ER.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ar_KM.php src/Symfony/Component/Intl/Resources/data/currencies/ar_KM.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ar_KM.php	2019-11-07 11:59:11.972136406 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ar_KM.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ar_LB.php src/Symfony/Component/Intl/Resources/data/currencies/ar_LB.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ar_LB.php	2019-11-07 11:59:12.228126162 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ar_LB.php	2019-11-07 11:59:15.673988264 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ar_SO.php src/Symfony/Component/Intl/Resources/data/currencies/ar_SO.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ar_SO.php	2019-11-07 11:59:12.435117878 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ar_SO.php	2019-11-07 11:59:15.674988223 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/ar_SS.php src/Symfony/Component/Intl/Resources/data/currencies/ar_SS.php
--- src/Symfony/Component/Intl/Resources/data/currencies/ar_SS.php	2019-11-07 11:59:12.633109955 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/ar_SS.php	2019-11-07 11:59:15.674988223 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/as.php src/Symfony/Component/Intl/Resources/data/currencies/as.php
--- src/Symfony/Component/Intl/Resources/data/currencies/as.php	2019-11-07 11:59:13.101091227 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/as.php	2019-11-07 11:59:15.674988223 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [
diff -ru src/Symfony/Component/Intl/Resources/data/currencies/az.php src/Symfony/Component/Intl/Resources/data/currencies/az.php
--- src/Symfony/Component/Intl/Resources/data/currencies/az.php	2019-11-07 11:59:13.576072219 +0000
+++ src/Symfony/Component/Intl/Resources/data/currencies/az.php	2019-11-07 11:59:15.674988223 +0000
@@ -1,5 +1,14 @@
 <?php
 
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
 return [
     'Version' => '36',
     'Names' => [

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits