Lines Matching refs:lines
129 * @param array $lines
134 …public function checkWrappedMessage(array $lines, bool $terminated = true, bool $decorated = true,…
151 foreach ($lines as $idx => $line) {
163 $line = $lines[++$idx];
175 return $this->expectTerminatorLines($lines, $idx);
282 * @param array $lines
285 public function expectStartingLines(array $lines)
291 if (count($lines) < 2) {
292 return $this->error("No starting lines");
296 $this->expectNotice($lines[0], 'fpm is running, pid \d+') &&
297 $this->expectNotice($lines[1], 'ready to handle connections')
302 * @param array $lines
306 public function expectTerminatorLines(array $lines, int $idx = -1)
312 if (count($lines) - $idx < 3) {
313 return $this->error("No terminating lines");
317 $this->expectNotice($lines[++$idx], 'Terminating ...') &&
318 $this->expectNotice($lines[++$idx], 'exiting, bye-bye!')
434 'lines' => [
449 'lines' => [
481 $logTool->checkWrappedMessage($case['lines']);