|
42 | 42 | }
|
43 | 43 |
|
44 | 44 | if ($checkPassed) {
|
45 |
| - echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects', true); |
| 45 | + echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects'); |
46 | 46 | } else {
|
47 |
| - echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects', true); |
| 47 | + echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects'); |
48 | 48 |
|
49 | 49 | echo_title('Fix the following mandatory requirements', 'red');
|
50 | 50 |
|
@@ -80,7 +80,7 @@ function get_error_message(Requirement $requirement, $lineSize)
|
80 | 80 | return;
|
81 | 81 | }
|
82 | 82 |
|
83 |
| - $errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.' ').PHP_EOL; |
| 83 | + $errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.' ').PHP_EOL; |
84 | 84 | $errorMessage .= ' > '.wordwrap($requirement->getHelpText(), $lineSize - 5, PHP_EOL.' > ').PHP_EOL;
|
85 | 85 |
|
86 | 86 | return $errorMessage;
|
@@ -121,8 +121,8 @@ function echo_block($style, $title, $message)
|
121 | 121 | echo PHP_EOL.PHP_EOL;
|
122 | 122 |
|
123 | 123 | echo_style($style, str_repeat(' ', $width).PHP_EOL);
|
124 |
| - echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL); |
125 |
| - echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL); |
| 124 | + echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL); |
| 125 | + echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL); |
126 | 126 | echo_style($style, str_repeat(' ', $width).PHP_EOL);
|
127 | 127 | }
|
128 | 128 |
|
|
0 commit comments