"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Console/Style/SymfonyStyle.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

SymfonyStyle.php  (phplist-3.4.5.tgz):SymfonyStyle.php  (phplist-3.4.6.tgz)
skipping to change at line 358 skipping to change at line 358
} }
return $this->progressBar; return $this->progressBar;
} }
private function autoPrependBlock() private function autoPrependBlock()
{ {
$chars = substr(str_replace(PHP_EOL, "\n", $this->bufferedOutput->fetch( )), -2); $chars = substr(str_replace(PHP_EOL, "\n", $this->bufferedOutput->fetch( )), -2);
if (!isset($chars[0])) { if (!isset($chars[0])) {
return $this->newLine(); //empty history, so we should start with a $this->newLine(); //empty history, so we should start with a new lin
new line. e.
return;
} }
//Prepend new line for each non LF chars (This means no blank line was o utput before) //Prepend new line for each non LF chars (This means no blank line was o utput before)
$this->newLine(2 - substr_count($chars, "\n")); $this->newLine(2 - substr_count($chars, "\n"));
} }
private function autoPrependText() private function autoPrependText()
{ {
$fetched = $this->bufferedOutput->fetch(); $fetched = $this->bufferedOutput->fetch();
//Prepend new line if last char isn't EOL: //Prepend new line if last char isn't EOL:
if ("\n" !== substr($fetched, -1)) { if ("\n" !== substr($fetched, -1)) {
 End of changes. 1 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)