Fix setupcheck for intl module
A polyfill for intl is loaded very early (somewhere in base). Polyfill defines grapheme_strlen as function if intl extension is not loaded. The check here is always true because there is a function with that name. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
6781f9fc76
commit
790a755232
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ Raw output
|
|||
protected function hasRecommendedPHPModules(): array {
|
||||
$recommendedPHPModules = [];
|
||||
|
||||
if (!function_exists('grapheme_strlen')) {
|
||||
if (!extension_loaded('intl')) {
|
||||
$recommendedPHPModules[] = 'intl';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue