From 3e255bfa410957c4a268a13aeeb6bbdfdbe47286 Mon Sep 17 00:00:00 2001 From: Arnaud Lier Date: Sun, 29 Nov 2020 21:22:49 +0100 Subject: [PATCH] Use PHP_EOL (#35409) Use PHP_EOL in PendingCommand@applyTableOutputExpectations --- src/Illuminate/Testing/PendingCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Testing/PendingCommand.php b/src/Illuminate/Testing/PendingCommand.php index 8974aac1226b..55ea307c82f3 100644 --- a/src/Illuminate/Testing/PendingCommand.php +++ b/src/Illuminate/Testing/PendingCommand.php @@ -351,7 +351,7 @@ private function applyTableOutputExpectations($mock) $table->render(); $lines = array_filter( - explode("\n", $output->fetch()) + explode(PHP_EOL, $output->fetch()) ); foreach ($lines as $line) {