diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index db574589dbc1..64f7127e4b40 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -794,7 +794,7 @@ public function renderException($e, $output) * * @return int|null */ - protected function getTerminalWidth() + public function getTerminalWidth() { if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) { return preg_replace('{^(\d+)x.*$}', '$1', $ansicon); @@ -810,7 +810,7 @@ protected function getTerminalWidth() * * @return int|null */ - protected function getTerminalHeight() + public function getTerminalHeight() { if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) { return preg_replace('{^\d+x\d+ \(\d+x(\d+)\)$}', '$1', trim($ansicon));