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>
pull/15188/head
Daniel Kesselberg 5 years ago
parent 49829482c8
commit c424ab790f
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614

@ -574,7 +574,7 @@ Raw output
protected function hasRecommendedPHPModules(): array {
$recommendedPHPModules = [];
if (!function_exists('grapheme_strlen')) {
if (!extension_loaded('intl')) {
$recommendedPHPModules[] = 'intl';
}

Loading…
Cancel
Save