updated packages

This commit is contained in:
2019-05-18 09:06:43 +00:00
parent 901d16349e
commit e9487fa58a
2025 changed files with 30366 additions and 49653 deletions

View File

@@ -21,7 +21,7 @@ use Symfony\Component\Console\Terminal;
*/
class ConsoleSectionOutput extends StreamOutput
{
private $content = array();
private $content = [];
private $lines = 0;
private $sections;
private $terminal;
@@ -53,7 +53,7 @@ class ConsoleSectionOutput extends StreamOutput
\array_splice($this->content, -($lines * 2)); // Multiply lines by 2 to cater for each new line added between content
} else {
$lines = $this->lines;
$this->content = array();
$this->content = [];
}
$this->lines -= $lines;
@@ -113,7 +113,7 @@ class ConsoleSectionOutput extends StreamOutput
private function popStreamContentUntilCurrentSection(int $numberOfLinesToClearFromCurrentSection = 0): string
{
$numberOfLinesToClear = $numberOfLinesToClearFromCurrentSection;
$erasedContent = array();
$erasedContent = [];
foreach ($this->sections as $section) {
if ($section === $this) {