Add pear modules, mail and net_smtp via composer (#93)

Add pear modules, mail and net_smtp via composer, remove php 5.6 build due to phpunit 6
This commit is contained in:
Thilina Hasantha
2018-01-08 23:13:43 +01:00
committed by GitHub
parent 359e3f8382
commit e7792e7d79
2349 changed files with 117270 additions and 83170 deletions

View File

@@ -73,7 +73,7 @@ class Language
$this->categories[] = $category;
}
if (empty($this->categories)) {
throw new Exception("The language '$id' does not have any plural category");
throw new Exception("The language '{$info['id']}' does not have any plural category");
}
// Let's sort the categories from 'zero' to 'other'
usort($this->categories, function (Category $category1, Category $category2) {
@@ -81,7 +81,7 @@ class Language
});
// The 'other' category should always be there
if ($this->categories[count($this->categories) - 1]->id !== CldrData::OTHER_CATEGORY) {
throw new Exception("The language '$id' does not have the '".CldrData::OTHER_CATEGORY."' plural category");
throw new Exception("The language '{$info['id']}' does not have the '".CldrData::OTHER_CATEGORY."' plural category");
}
$this->checkAlwaysTrueCategories();
$this->checkAlwaysFalseCategories();