comparison vendor/symfony/console/Helper/ProcessHelper.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
119 119
120 return function ($type, $buffer) use ($output, $process, $callback, $formatter) { 120 return function ($type, $buffer) use ($output, $process, $callback, $formatter) {
121 $output->write($formatter->progress(spl_object_hash($process), $this->escapeString($buffer), Process::ERR === $type)); 121 $output->write($formatter->progress(spl_object_hash($process), $this->escapeString($buffer), Process::ERR === $type));
122 122
123 if (null !== $callback) { 123 if (null !== $callback) {
124 call_user_func($callback, $type, $buffer); 124 \call_user_func($callback, $type, $buffer);
125 } 125 }
126 }; 126 };
127 } 127 }
128 128
129 private function escapeString($str) 129 private function escapeString($str)