aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/symfony_requirements
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-11 18:48:36 +0200
committerGitHub <noreply@github.com>2016-09-11 18:48:36 +0200
commit59758d8fe5ad5ff554391515a78d84b0d47bdb76 (patch)
tree43054fdd7f15e11d681970dfb692b269fbf6b705 /bin/symfony_requirements
parentc078d18372e05b09b40c34f67b7cb81446f30c4f (diff)
parent88e88016b9a86d76940082b62c85c3756f461cb2 (diff)
downloadwallabag-59758d8fe5ad5ff554391515a78d84b0d47bdb76.tar.gz
wallabag-59758d8fe5ad5ff554391515a78d84b0d47bdb76.tar.zst
wallabag-59758d8fe5ad5ff554391515a78d84b0d47bdb76.zip
Merge pull request #2279 from wallabag/cleanup-travis
Check if asset is enable instead of opposite
Diffstat (limited to 'bin/symfony_requirements')
-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()