Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 99e45d1

Browse files
committed
updated VENDORS for 3.1.4
1 parent abd61b6 commit 99e45d1

File tree

2 files changed

+51
-39
lines changed

2 files changed

+51
-39
lines changed

composer.lock

Lines changed: 41 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

var/SymfonyRequirements.php

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -681,10 +681,17 @@ function_exists('posix_isatty'),
681681

682682
if (class_exists('Symfony\Component\Intl\Intl')) {
683683
$this->addRecommendation(
684-
\Symfony\Component\Intl\Intl::getIcuDataVersion() === \Symfony\Component\Intl\Intl::getIcuVersion(),
685-
sprintf('intl ICU version installed on your system (%s) should match the ICU data bundled with Symfony (%s)', \Symfony\Component\Intl\Intl::getIcuVersion(), \Symfony\Component\Intl\Intl::getIcuDataVersion()),
686-
'In most cases you should be fine, but please verify there is no inconsistencies between data provided by Symfony and the intl extension. See https://github.com/symfony/symfony/issues/15007 for an example of inconsistencies you might run into.'
684+
\Symfony\Component\Intl\Intl::getIcuDataVersion() <= \Symfony\Component\Intl\Intl::getIcuVersion(),
685+
sprintf('intl ICU version installed on your system is outdated (%s) and does not match the ICU data bundled with Symfony (%s)', \Symfony\Component\Intl\Intl::getIcuVersion(), \Symfony\Component\Intl\Intl::getIcuDataVersion()),
686+
'To get the latest internationalization data upgrade the ICU system package and the intl PHP extension.'
687687
);
688+
if (\Symfony\Component\Intl\Intl::getIcuDataVersion() <= \Symfony\Component\Intl\Intl::getIcuVersion()) {
689+
$this->addRecommendation(
690+
\Symfony\Component\Intl\Intl::getIcuDataVersion() === \Symfony\Component\Intl\Intl::getIcuVersion(),
691+
sprintf('intl ICU version installed on your system (%s) does not match the ICU data bundled with Symfony (%s)', \Symfony\Component\Intl\Intl::getIcuVersion(), \Symfony\Component\Intl\Intl::getIcuDataVersion()),
692+
'To avoid internationalization data incosistencies upgrade the symfony/intl component.'
693+
);
694+
}
688695
}
689696

690697
$this->addPhpIniRecommendation(

0 commit comments

Comments
 (0)