Skip to content

Commit

Permalink
Update to CLDR v42 and drop PHP 7.1 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsacksick committed Feb 20, 2023
1 parent cab3b55 commit f6200ca
Show file tree
Hide file tree
Showing 284 changed files with 6,343 additions and 1,824 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ sudo: false
language: php

php:
- 8.1
- 8.0
- 7.4
- 7.3
- 7.2
- 7.1

install:
- composer self-update
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ intl

[![Build Status](https://travis-ci.org/commerceguys/intl.svg?branch=master)](https://travis-ci.org/commerceguys/intl)

A PHP 7.1+ internationalization library, powered by CLDR data.
A PHP 7.3+ internationalization library, powered by CLDR data.

Features:
- NumberFormatter and CurrencyFormatter, inspired by [intl](http://php.net/manual/en/class.numberformatter.php).
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "Internationalization library powered by CLDR data.",
"license": "MIT",
"require": {
"php": ">=7.1.3"
"php": ">=7.3"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"phpunit/phpunit": "^9.5",
"mikey179/vfsstream": "1.*"
},
"autoload": {
Expand All @@ -23,6 +23,9 @@
"authors": [
{
"name": "Bojan Zivanovic"
},
{
"name": "Jonathan Sacksick"
}
],
"extra": {
Expand Down
22 changes: 6 additions & 16 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
bootstrap="vendor/autoload.php"
>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">./src/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="CommerceGuys Intl Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
</phpunit>
9 changes: 6 additions & 3 deletions resources/currency/af.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"BTN": {
"name": "Bhoetanese ngoeltroem"
},
"VED": {
"name": "Bolívar Soberano"
},
"BOB": {
"name": "Boliviaanse boliviano"
},
Expand Down Expand Up @@ -222,9 +225,6 @@
"CDF": {
"name": "Kongolese frank"
},
"HRK": {
"name": "Kroatiese kuna"
},
"CUC": {
"name": "Kubaanse omskakelbare peso"
},
Expand Down Expand Up @@ -382,6 +382,9 @@
"SCR": {
"name": "Seychellese roepee"
},
"SLE": {
"name": "Sierra Leonean Leone"
},
"SLL": {
"name": "Sierra Leoniese leone"
},
Expand Down
9 changes: 6 additions & 3 deletions resources/currency/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,6 @@
"SVC": {
"name": "كولون سلفادوري"
},
"HRK": {
"name": "كونا كرواتي"
},
"MMK": {
"name": "كيات ميانمار"
},
Expand Down Expand Up @@ -510,6 +507,12 @@
"name": "يورو",
"symbol": ""
},
"VED": {
"name": "Bolívar Soberano"
},
"SLE": {
"name": "Sierra Leonean Leone"
},
"UYW": {
"name": "Uruguayan Nominal Wage Index Unit"
}
Expand Down
9 changes: 6 additions & 3 deletions resources/currency/as.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@
"CRC": {
"name": "কোষ্টা ৰিকান কোলন"
},
"HRK": {
"name": "ক্ৰোৱেছিয়ান কুনা"
},
"GMD": {
"name": "গাম্বিয়া ডালাছি"
},
Expand Down Expand Up @@ -480,13 +477,19 @@
"HNL": {
"name": "হোন্দুৰান লেম্পিৰা"
},
"VED": {
"name": "Bolívar Soberano"
},
"XPF": {
"name": "CFP ফ্ৰেংক",
"symbol": "CFPF"
},
"SVC": {
"name": "Salvadoran Colón"
},
"SLE": {
"name": "Sierra Leonean Leone"
},
"UYW": {
"name": "Uruguayan Nominal Wage Index Unit"
},
Expand Down
9 changes: 6 additions & 3 deletions resources/currency/ast.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"ETB": {
"name": "Birr etíope"
},
"VED": {
"name": "Bolívar Soberano"
},
"VES": {
"name": "bolívar venezolanu"
},
Expand Down Expand Up @@ -234,9 +237,6 @@
"LAK": {
"name": "kip laosianu"
},
"HRK": {
"name": "Kuna croata"
},
"MWK": {
"name": "Kwacha malauianu"
},
Expand Down Expand Up @@ -442,6 +442,9 @@
"UGX": {
"name": "Shilling ugandés"
},
"SLE": {
"name": "Sierra Leonean Leone"
},
"PEN": {
"name": "Sol peruanu"
},
Expand Down
9 changes: 6 additions & 3 deletions resources/currency/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"AED": {
"name": "Birləşmiş Ərəb Əmirlikləri Dirhəmi"
},
"VED": {
"name": "Bolívar Soberano"
},
"BOB": {
"name": "Boliviya Bolivianosu"
},
Expand Down Expand Up @@ -164,9 +167,6 @@
"name": "Honq Konq Dolları",
"symbol": "HK$"
},
"HRK": {
"name": "Xorvatiya Kunası"
},
"IDR": {
"name": "İndoneziya Rupisi"
},
Expand Down Expand Up @@ -393,6 +393,9 @@
"SLL": {
"name": "Sierra Leon Leonu"
},
"SLE": {
"name": "Sierra Leonean Leone"
},
"SGD": {
"name": "Sinqapur Dolları"
},
Expand Down
9 changes: 6 additions & 3 deletions resources/currency/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,6 @@
"FKP": {
"name": "фунт Фалклендскіх астравоў"
},
"HRK": {
"name": "харвацкая куна"
},
"XAF": {
"name": "цэнтральнаафрыканскі франк КФА",
"symbol": "FCFA"
Expand Down Expand Up @@ -483,9 +480,15 @@
"name": "японская іена",
"symbol": "¥"
},
"VED": {
"name": "Bolívar Soberano"
},
"SVC": {
"name": "Salvadoran Colón"
},
"SLE": {
"name": "Sierra Leonean Leone"
},
"UYW": {
"name": "Uruguayan Nominal Wage Index Unit"
},
Expand Down
9 changes: 6 additions & 3 deletions resources/currency/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,6 @@
"HKD": {
"name": "Хонконгски долар"
},
"HRK": {
"name": "Хърватска куна"
},
"XAF": {
"name": "Централноафрикански франк",
"symbol": "FCFA"
Expand Down Expand Up @@ -472,10 +469,16 @@
"JPY": {
"name": "Японска йена"
},
"VED": {
"name": "Bolívar Soberano"
},
"XPF": {
"name": "CFP франк",
"symbol": "CFPF"
},
"SLE": {
"name": "Sierra Leonean Leone"
},
"UYW": {
"name": "Uruguayan Nominal Wage Index Unit"
}
Expand Down
Loading

0 comments on commit f6200ca

Please sign in to comment.