aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/symfony_requirements13
1 files changed, 8 insertions, 5 deletions
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.' ';
22 22
23$messages = array(); 23$messages = array();
24foreach ($symfonyRequirements->getRequirements() as $req) { 24foreach ($symfonyRequirements->getRequirements() as $req) {
25 /** @var $req Requirement */
26 if ($helpText = get_error_message($req, $lineSize)) { 25 if ($helpText = get_error_message($req, $lineSize)) {
27 echo_style('red', 'E'); 26 echo_style('red', 'E');
28 $messages['error'][] = $helpText; 27 $messages['error'][] = $helpText;
@@ -121,10 +120,14 @@ function echo_block($style, $title, $message)
121 120
122 echo PHP_EOL.PHP_EOL; 121 echo PHP_EOL.PHP_EOL;
123 122
124 echo_style($style, str_repeat(' ', $width).PHP_EOL); 123 echo_style($style, str_repeat(' ', $width));
125 echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL); 124 echo PHP_EOL;
126 echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL); 125 echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT));
127 echo_style($style, str_repeat(' ', $width).PHP_EOL); 126 echo PHP_EOL;
127 echo_style($style, $message);
128 echo PHP_EOL;
129 echo_style($style, str_repeat(' ', $width));
130 echo PHP_EOL;
128} 131}
129 132
130function has_color_support() 133function has_color_support()