[Console] Silence warnings on sapi_windows_cp_set() call

This commit is contained in:
Robin Chalas 2020-09-08 23:46:32 +02:00
parent 68866fbc9e
commit 2a57ba5267

View File

@ -160,7 +160,7 @@ class QuestionHelper extends Helper
if (\function_exists('sapi_windows_cp_set')) {
// Codepage used by cmd.exe on Windows to allow special characters (éàüñ).
sapi_windows_cp_set(1252);
@sapi_windows_cp_set(1252);
}
if (null === $autocomplete || !self::$stty || !Terminal::hasSttyAvailable()) {