Skip to content

Commit 8ac25da

Browse files
committed
Fix code style
1 parent 9676fb3 commit 8ac25da

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/Phug/PhugDevServer.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ public function listen()
4242

4343
// @codeCoverageIgnoreStart
4444
if (strtolower(substr(php_uname(), 0, 3)) === 'win') {
45-
pclose(popen("start $php $watcher --browser-reload=$browserReloadPort > watcher-output.log 2> watcher-error.log", 'r'));
45+
pclose(popen("start $php $watcher --browser-reload=$browserReloadPort ".
46+
"> watcher-output.log 2> watcher-error.log", 'r'));
4647
echo shell_exec("set BROWSER_RELOAD_PORT=$browserReloadPort && $php -S $server $file");
4748

4849
return true;
4950
}
5051

51-
shell_exec("$php $watcher --browser-reload=$browserReloadPort > watcher-output.log 2> watcher-error.log &");
52+
shell_exec("$php $watcher --browser-reload=$browserReloadPort ".
53+
"> watcher-output.log 2> watcher-error.log &");
5254
echo shell_exec("BROWSER_RELOAD_PORT=$browserReloadPort $php -S $server $file");
5355

5456
return true;

tests/Phug/Watcher/CliTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,13 @@ public function testListenCommand()
144144
$message = null;
145145

146146
ob_start();
147+
147148
try {
148149
$cli->run(['--listen', '9000', 'index.php'], 1000000, 3 * 1000000);
149150
} catch (\RuntimeException $exception) {
150151
$message = $exception->getMessage();
151152
}
153+
152154
ob_end_clean();
153155

154156
static::removeDirectory($baseDir);

0 commit comments

Comments
 (0)