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) 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.'
706
+
'To avoid internationalization data inconsistencies upgrade the symfony/intl component.'
'realpath_cache_size should be above 1024 in php.ini',
730
-
'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.'
731
745
);
732
746
}
733
747
@@ -778,4 +792,28 @@ protected function getRealpathCacheSize()
778
792
return (int) $size;
779
793
}
780
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