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:
Daniel Kesselberg 2019-04-21 21:55:50 +02:00
parent 49829482c8
commit c424ab790f
No known key found for this signature in database
GPG key ID: 36E3664E099D0614

View file

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