aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/symfony_requirements
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-09-11 15:53:16 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-11 15:53:16 +0200
commit58fadbc9df3f8b735c04995919b6cf913ca6a977 (patch)
treebab121477c81ee68c1b0300464c2532407290222 /bin/symfony_requirements
parent04d5c60216eb4577fbf9846d10862a332d7656fd (diff)
downloadwallabag-58fadbc9df3f8b735c04995919b6cf913ca6a977.tar.gz
wallabag-58fadbc9df3f8b735c04995919b6cf913ca6a977.tar.zst
wallabag-58fadbc9df3f8b735c04995919b6cf913ca6a977.zip
Fix error on EntityManager clear
Introduced in the recent 2.5.5 release. Also updated deps.
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()