Skip to content

Commit

Permalink
Cuban Peso convertible is now deprecated (#293)
Browse files Browse the repository at this point in the history
Co-authored-by: PrinsFrank <25006490+PrinsFrank@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and PrinsFrank authored Feb 5, 2025
1 parent df7b7c2 commit 3d1132d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/Country/CountryAlpha2.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,10 +698,7 @@ public function getCurrenciesAlpha3(): array {
self::Costa_Rica => [CurrencyAlpha3::Costa_Rican_Colon],
self::Cote_d_Ivoire => [CurrencyAlpha3::CFA_Franc_BCEAO],
self::Croatia => [CurrencyAlpha3::Euro],
self::Cuba => [
CurrencyAlpha3::Cuban_Peso,
CurrencyAlpha3::Peso_Convertible
],
self::Cuba => [CurrencyAlpha3::Cuban_Peso],
self::Curacao => [CurrencyAlpha3::Netherlands_Antillean_Guilder],
self::Cyprus => [CurrencyAlpha3::Euro],
self::Czechia => [CurrencyAlpha3::Czech_Koruna],
Expand Down
5 changes: 3 additions & 2 deletions src/Currency/CurrencyAlpha3.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ enum CurrencyAlpha3: string {
case Pakistan_Rupee = 'PKR';
case Palladium = 'XPD';
case Pataca = 'MOP';
case Peso_Convertible = 'CUC';
case Peso_Uruguayo = 'UYU';
case Philippine_Peso = 'PHP';
case Platinum = 'XPT';
Expand Down Expand Up @@ -208,6 +207,9 @@ enum CurrencyAlpha3: string {
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Leone_Old = 'SLL';

/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Peso_Convertible = 'CUC';

/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Zimbabwe_Dollar = 'ZWL';

Expand Down Expand Up @@ -621,7 +623,6 @@ public function getCountriesAlpha2(): array {
self::Pa_anga => [CountryAlpha2::Tonga],
self::Pakistan_Rupee => [CountryAlpha2::Pakistan],
self::Pataca => [CountryAlpha2::Macao],
self::Peso_Convertible => [CountryAlpha2::Cuba],
self::Peso_Uruguayo => [CountryAlpha2::Uruguay],
self::Philippine_Peso => [CountryAlpha2::Philippines],
self::Pound_Sterling => [
Expand Down
4 changes: 3 additions & 1 deletion src/Currency/CurrencyName.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ enum CurrencyName: string {
case Pakistan_Rupee = 'Pakistan Rupee';
case Palladium = 'Palladium';
case Pataca = 'Pataca';
case Peso_Convertible = 'Peso Convertible';
case Peso_Uruguayo = 'Peso Uruguayo';
case Philippine_Peso = 'Philippine Peso';
case Platinum = 'Platinum';
Expand Down Expand Up @@ -207,6 +206,9 @@ enum CurrencyName: string {
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Leone_Old = 'Leone_Old';

/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Peso_Convertible = 'Peso Convertible';

/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Zimbabwe_Dollar = 'Zimbabwe Dollar';

Expand Down
4 changes: 3 additions & 1 deletion src/Currency/CurrencyNumeric.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ enum CurrencyNumeric: string {
case Pakistan_Rupee = '586';
case Palladium = '964';
case Pataca = '446';
case Peso_Convertible = '931';
case Peso_Uruguayo = '858';
case Philippine_Peso = '608';
case Platinum = '962';
Expand Down Expand Up @@ -209,6 +208,9 @@ enum CurrencyNumeric: string {
/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Leone_Old = '694';

/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Peso_Convertible = '931';

/** @deprecated Has been removed from the specification but is maintained here for Backwards Compatibility reasons */
case Zimbabwe_Dollar = '932';

Expand Down

0 comments on commit 3d1132d

Please sign in to comment.