Skip to content

Commit c587e04

Browse files
committed
Tweak the code to avoid fabbot false positives
1 parent 5a0c2d9 commit c587e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/DumpServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(string $host, LoggerInterface $logger = null)
4141
public function start(): void
4242
{
4343
if (!$this->socket = stream_socket_server($this->host, $errno, $errstr)) {
44-
throw new \RuntimeException(sprintf('Server start failed on "%s": %s %s.', $this->host, $errstr, $errno));
44+
throw new \RuntimeException(sprintf('Server start failed on "%s": '.$errstr.' '.$errno, $this->host));
4545
}
4646
}
4747

0 commit comments

Comments
 (0)