From 139d14b30a7a48a68effb8993d3503d0bfe75497 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 16 Apr 2025 12:14:16 -0400 Subject: [PATCH] Deprecate SLL and HRK currencies, add SLE --- src/Currency.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Currency.php b/src/Currency.php index 3bbdcbb..8b95338 100644 --- a/src/Currency.php +++ b/src/Currency.php @@ -527,7 +527,7 @@ final class Currency implements JsonSerializable 'default_fraction_digits' => 2, 'sub_unit' => 100, 'sign' => 'kn', - 'deprecated' => false, + 'deprecated' => true, ], 'HTG' => [ 'display_name' => 'Gourde', @@ -1089,13 +1089,21 @@ final class Currency implements JsonSerializable 'sign' => '£', 'deprecated' => false, ], + 'SLE' => [ + 'display_name' => 'Leone', + 'numeric_code' => 925, + 'default_fraction_digits' => 2, + 'sub_unit' => 100, + 'sign' => 'Le', + 'deprecated' => false, + ], 'SLL' => [ 'display_name' => 'Leone', 'numeric_code' => 694, 'default_fraction_digits' => 2, 'sub_unit' => 100, 'sign' => 'Le', - 'deprecated' => false, + 'deprecated' => true, ], 'SOS' => [ 'display_name' => 'Somali Shilling',