diff --git a/.gitignore b/.gitignore index 32db066..793ef58 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,4 @@ phpunit.xml reports sandbox vendor -composer.lock -/nbproject/private/ -/nbproject/ \ No newline at end of file +composer.lock \ No newline at end of file diff --git a/src/Ratchet/App.php b/src/Ratchet/App.php index f7d5e52..484129a 100644 --- a/src/Ratchet/App.php +++ b/src/Ratchet/App.php @@ -62,7 +62,7 @@ class App { */ public function __construct($httpHost = 'localhost', $port = 8080, $address = '127.0.0.1', LoopInterface $loop = null) { if (extension_loaded('xdebug')) { - trigger_error("XDebug extension detected. Remember to disable this if performance testing or going live!", E_USER_WARNING); + echo("XDebug extension detected. Remember to disable this if performance testing or going live!" . PHP_EOL); } if (3 !== strlen('✓')) { @@ -102,6 +102,7 @@ class App { $flashSock->listen(843, '0.0.0.0'); }else{ fclose($test); + echo('flash socket server already running on 843' . PHP_EOL); } }