Skip to content

Commit

Permalink
Make Mbstring extension required
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Borowicz authored and Pierre RAMBAUD committed May 28, 2020
1 parent 6cd77a5 commit 2b715ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion classes/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public static function getDefaultTests()
'fileinfo' => false,
'intl' => false,
'memory_limit' => false,
'mbstring' => false,
]);
}

Expand Down Expand Up @@ -394,7 +395,7 @@ public static function test_virtual_products_dir($dir)

public static function test_mbstring()
{
return function_exists('mb_strtolower');
return extension_loaded('mbstring');
}

public static function test_openssl()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"ext-curl": "*",
"ext-fileinfo": "*",
"ext-intl": "*",
"ext-mbstring": "*",
"ext-zip": "*",
"ext-iconv": "*",
"ext-json": "*",
Expand Down Expand Up @@ -113,7 +114,6 @@
"swiftmailer/swiftmailer": "~6.2",
"symfony/monolog-bundle": "^3.1.0",
"symfony/polyfill-apcu": "^1.0",
"symfony/polyfill-mbstring": "^1.12",
"symfony/polyfill-php73": "^1.10",
"symfony/swiftmailer-bundle": "^3.1",
"symfony/symfony": ">=3.4.37",
Expand Down
1 change: 1 addition & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2b715ba

Please sign in to comment.