summaryrefslogtreecommitdiff
path: root/test/it_url_server.php
diff options
context:
space:
mode:
authorChristian Schneider2021-01-13 16:13:25 +0100
committerChristian Schneider2021-01-13 16:13:25 +0100
commit81e5fda87626dfe94d46be511ebc546076b1975b (patch)
tree9669ecb252500e514ff932df2e1036ab13cf8008 /test/it_url_server.php
parent1f57cc663c83ec44ec292256147f9811945e260a (diff)
downloaditools-81e5fda87626dfe94d46be511ebc546076b1975b.tar.gz
itools-81e5fda87626dfe94d46be511ebc546076b1975b.tar.bz2
itools-81e5fda87626dfe94d46be511ebc546076b1975b.zip
Unified brace and else if style
Diffstat (limited to 'test/it_url_server.php')
-rw-r--r--test/it_url_server.php6
1 files changed, 4 insertions, 2 deletions
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;