Skip to content

Commit 3d1132d

Browse files
Cuban Peso convertible is now deprecated (#293)
Co-authored-by: PrinsFrank <[email protected]>
1 parent df7b7c2 commit 3d1132d

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

src/Country/CountryAlpha2.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -698,10 +698,7 @@ public function getCurrenciesAlpha3(): array {
698698
self::Costa_Rica => [CurrencyAlpha3::Costa_Rican_Colon],
699699
self::Cote_d_Ivoire => [CurrencyAlpha3::CFA_Franc_BCEAO],
700700
self::Croatia => [CurrencyAlpha3::Euro],
701-
self::Cuba => [
702-
CurrencyAlpha3::Cuban_Peso,
703-
CurrencyAlpha3::Peso_Convertible
704-
],
701+
self::Cuba => [CurrencyAlpha3::Cuban_Peso],
705702
self::Curacao => [CurrencyAlpha3::Netherlands_Antillean_Guilder],
706703
self::Cyprus => [CurrencyAlpha3::Euro],
707704
self::Czechia => [CurrencyAlpha3::Czech_Koruna],

src/Currency/CurrencyAlpha3.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ enum CurrencyAlpha3: string {
136136
case Pakistan_Rupee = 'PKR';
137137
case Palladium = 'XPD';
138138
case Pataca = 'MOP';
139-
case Peso_Convertible = 'CUC';
140139
case Peso_Uruguayo = 'UYU';
141140
case Philippine_Peso = 'PHP';
142141
case Platinum = 'XPT';
@@ -208,6 +207,9 @@ enum CurrencyAlpha3: string {
208207
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
209208
case Leone_Old = 'SLL';
210209

210+
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
211+
case Peso_Convertible = 'CUC';
212+
211213
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
212214
case Zimbabwe_Dollar = 'ZWL';
213215

@@ -621,7 +623,6 @@ public function getCountriesAlpha2(): array {
621623
self::Pa_anga => [CountryAlpha2::Tonga],
622624
self::Pakistan_Rupee => [CountryAlpha2::Pakistan],
623625
self::Pataca => [CountryAlpha2::Macao],
624-
self::Peso_Convertible => [CountryAlpha2::Cuba],
625626
self::Peso_Uruguayo => [CountryAlpha2::Uruguay],
626627
self::Philippine_Peso => [CountryAlpha2::Philippines],
627628
self::Pound_Sterling => [

src/Currency/CurrencyName.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ enum CurrencyName: string {
135135
case Pakistan_Rupee = 'Pakistan Rupee';
136136
case Palladium = 'Palladium';
137137
case Pataca = 'Pataca';
138-
case Peso_Convertible = 'Peso Convertible';
139138
case Peso_Uruguayo = 'Peso Uruguayo';
140139
case Philippine_Peso = 'Philippine Peso';
141140
case Platinum = 'Platinum';
@@ -207,6 +206,9 @@ enum CurrencyName: string {
207206
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
208207
case Leone_Old = 'Leone_Old';
209208

209+
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
210+
case Peso_Convertible = 'Peso Convertible';
211+
210212
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
211213
case Zimbabwe_Dollar = 'Zimbabwe Dollar';
212214

src/Currency/CurrencyNumeric.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ enum CurrencyNumeric: string {
137137
case Pakistan_Rupee = '586';
138138
case Palladium = '964';
139139
case Pataca = '446';
140-
case Peso_Convertible = '931';
141140
case Peso_Uruguayo = '858';
142141
case Philippine_Peso = '608';
143142
case Platinum = '962';
@@ -209,6 +208,9 @@ enum CurrencyNumeric: string {
209208
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
210209
case Leone_Old = '694';
211210

211+
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
212+
case Peso_Convertible = '931';
213+
212214
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
213215
case Zimbabwe_Dollar = '932';
214216

0 commit comments

Comments
 (0)