X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=bin%2Fsymfony_requirements;h=a7bf65a1b8fa98dcd3fdb706f61bac472effd677;hb=58fadbc9df3f8b735c04995919b6cf913ca6a977;hp=8825a964676ae774fab136ca2670799ec64a415d;hpb=04d5c60216eb4577fbf9846d10862a332d7656fd;p=github%2Fwallabag%2Fwallabag.git diff --git a/bin/symfony_requirements b/bin/symfony_requirements index 8825a964..a7bf65a1 100755 --- a/bin/symfony_requirements +++ b/bin/symfony_requirements @@ -22,7 +22,6 @@ echo '> Checking Symfony requirements:'.PHP_EOL.' '; $messages = array(); foreach ($symfonyRequirements->getRequirements() as $req) { - /** @var $req Requirement */ if ($helpText = get_error_message($req, $lineSize)) { echo_style('red', 'E'); $messages['error'][] = $helpText; @@ -121,10 +120,14 @@ function echo_block($style, $title, $message) echo PHP_EOL.PHP_EOL; - echo_style($style, str_repeat(' ', $width).PHP_EOL); - echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL); - echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL); - echo_style($style, str_repeat(' ', $width).PHP_EOL); + echo_style($style, str_repeat(' ', $width)); + echo PHP_EOL; + echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT)); + echo PHP_EOL; + echo_style($style, $message); + echo PHP_EOL; + echo_style($style, str_repeat(' ', $width)); + echo PHP_EOL; } function has_color_support()