You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.'
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.'
687
701
);
702
+
if (\Symfony\Component\Intl\Intl::getIcuDataVersion() <= \Symfony\Component\Intl\Intl::getIcuVersion()) {
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.'
'realpath_cache_size should be above 1024 in php.ini',
723
-
'Set "<strong>realpath_cache_size</strong>" to e.g. "<strong>1024</strong>" in php.ini<a href="#phpini">*</a> to improve performance on windows.'
742
+
$this->getRealpathCacheSize() >= 5 * 1024 * 1024,
743
+
'realpath_cache_size should be at least 5M in php.ini',
744
+
'Setting "<strong>realpath_cache_size</strong>" to e.g. "<strong>5242880</strong>" or "<strong>5M</strong>" in php.ini<a href="#phpini">*</a> may improve performance on Windows significantly in some cases.'
724
745
);
725
746
}
726
747
@@ -771,4 +792,28 @@ protected function getRealpathCacheSize()
771
792
return (int) $size;
772
793
}
773
794
}
795
+
796
+
/**
797
+
* Defines PHP required version from Symfony version.
798
+
*
799
+
* @return string|false The PHP required version or false if it could not be guessed
800
+
*/
801
+
protectedfunctiongetPhpRequiredVersion()
802
+
{
803
+
if (!file_exists($path = __DIR__.'/../composer.lock')) {
0 commit comments