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

Commit d1f9db9

Browse files
committed
updated VENDORS for 3.0.4
1 parent 9c0bd14 commit d1f9db9

File tree

2 files changed

+73
-61
lines changed

2 files changed

+73
-61
lines changed

composer.lock

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

var/SymfonyRequirements.php

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,13 @@ public function __construct()
425425
'Change the permissions of either "<strong>app/logs/</strong>" or "<strong>var/logs/</strong>" directory so that the web server can write into it.'
426426
);
427427

428-
$this->addPhpIniRequirement(
429-
'date.timezone', true, false,
430-
'date.timezone setting must be set',
431-
'Set the "<strong>date.timezone</strong>" setting in php.ini<a href="#phpini">*</a> (like Europe/Paris).'
432-
);
428+
if (version_compare($installedPhpVersion, '7.0.0', '<')) {
429+
$this->addPhpIniRequirement(
430+
'date.timezone', true, false,
431+
'date.timezone setting must be set',
432+
'Set the "<strong>date.timezone</strong>" setting in php.ini<a href="#phpini">*</a> (like Europe/Paris).'
433+
);
434+
}
433435

434436
if (version_compare($installedPhpVersion, self::REQUIRED_PHP_VERSION, '>=')) {
435437
$timezones = array();
@@ -677,6 +679,14 @@ function_exists('posix_isatty'),
677679
'Upgrade your <strong>intl</strong> extension with a newer ICU version (4+).'
678680
);
679681

682+
if (class_exists('Symfony\Component\Intl\Intl')) {
683+
$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.'
687+
);
688+
}
689+
680690
$this->addPhpIniRecommendation(
681691
'intl.error_level',
682692
create_function('$cfgValue', 'return (int) $cfgValue === 0;'),

0 commit comments

Comments
 (0)