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

Commit 2d9d9ae

Browse files
committed
updated VENDORS for 2.8.18
1 parent c865dc5 commit 2d9d9ae

File tree

4 files changed

+241
-237
lines changed

4 files changed

+241
-237
lines changed

app/SymfonyRequirements.php

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

442-
if (version_compare($installedPhpVersion, '7.0.0', '<')) {
443-
$this->addPhpIniRequirement(
444-
'date.timezone', true, false,
445-
'date.timezone setting must be set',
446-
'Set the "<strong>date.timezone</strong>" setting in php.ini<a href="#phpini">*</a> (like Europe/Paris).'
447-
);
448-
}
442+
$this->addPhpIniRequirement(
443+
'date.timezone', true, false,
444+
'date.timezone setting must be set',
445+
'Set the "<strong>date.timezone</strong>" setting in php.ini<a href="#phpini">*</a> (like Europe/Paris).'
446+
);
449447

450448
if (false !== $requiredPhpVersion && version_compare($installedPhpVersion, $requiredPhpVersion, '>=')) {
451449
$timezones = array();
@@ -693,21 +691,6 @@ function_exists('posix_isatty'),
693691
'Upgrade your <strong>intl</strong> extension with a newer ICU version (4+).'
694692
);
695693

696-
if (class_exists('Symfony\Component\Intl\Intl')) {
697-
$this->addRecommendation(
698-
\Symfony\Component\Intl\Intl::getIcuDataVersion() <= \Symfony\Component\Intl\Intl::getIcuVersion(),
699-
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()),
700-
'To get the latest internationalization data upgrade the ICU system package and the intl PHP extension.'
701-
);
702-
if (\Symfony\Component\Intl\Intl::getIcuDataVersion() <= \Symfony\Component\Intl\Intl::getIcuVersion()) {
703-
$this->addRecommendation(
704-
\Symfony\Component\Intl\Intl::getIcuDataVersion() === \Symfony\Component\Intl\Intl::getIcuVersion(),
705-
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()),
706-
'To avoid internationalization data inconsistencies upgrade the symfony/intl component.'
707-
);
708-
}
709-
}
710-
711694
$this->addPhpIniRecommendation(
712695
'intl.error_level',
713696
create_function('$cfgValue', 'return (int) $cfgValue === 0;'),

app/check.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,10 @@ function echo_block($style, $title, $message)
119119

120120
echo PHP_EOL.PHP_EOL;
121121

122-
echo_style($style, str_repeat(' ', $width));
123-
echo PHP_EOL;
124-
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT));
125-
echo PHP_EOL;
126-
echo_style($style, $message);
127-
echo PHP_EOL;
128-
echo_style($style, str_repeat(' ', $width));
129-
echo PHP_EOL;
122+
echo_style($style, str_repeat(' ', $width).PHP_EOL);
123+
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL);
124+
echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL);
125+
echo_style($style, str_repeat(' ', $width).PHP_EOL);
130126
}
131127

132128
function has_color_support()

0 commit comments

Comments
 (0)