From 81e5fda87626dfe94d46be511ebc546076b1975b Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 13 Jan 2021 16:13:25 +0100 Subject: Unified brace and else if style --- test/it_url_server.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/it_url_server.php') diff --git a/test/it_url_server.php b/test/it_url_server.php index d8049b1..b113be1 100644 --- a/test/it_url_server.php +++ b/test/it_url_server.php @@ -14,13 +14,15 @@ register_shutdown_function( usleep(100000); stream_set_blocking($pipes[2], 0); -function server_output() { +function server_output() +{ $result = array(); while (($result[] = trim(fgets($GLOBALS['pipes'][2])))) {}; return array_filter($result); } -function handle_server($args) { +function handle_server($args) +{ $res = true; foreach ((array)$args as $arg) $res = $res && $arg; -- cgit v1.2.3