Code Duplication    Length = 3-3 lines in 3 locations

PHPDaemon/Core/Bootstrap.php 3 locations

@@ 382-384 (lines=3) @@
379
            echo "\n";
380
        }
381
        else if ($runmode === 'update') {
382
            if ((!Bootstrap::$pid) || (!posix_kill(Bootstrap::$pid, SIGHUP))) {
383
                echo '[UPDATE] ERROR. It seems that phpDaemon is not running' . (Bootstrap::$pid ? ' (PID ' . Bootstrap::$pid . ')' : '') . ".\n";
384
            }
385
        }
386
        else if ($runmode === 'reopenlog') {
387
            if ((!Bootstrap::$pid) || (!posix_kill(Bootstrap::$pid, SIGUSR1))) {
@@ 387-389 (lines=3) @@
384
            }
385
        }
386
        else if ($runmode === 'reopenlog') {
387
            if ((!Bootstrap::$pid) || (!posix_kill(Bootstrap::$pid, SIGUSR1))) {
388
                echo '[REOPEN-LOG] ERROR. It seems that phpDaemon is not running' . (Bootstrap::$pid ? ' (PID ' . Bootstrap::$pid . ')' : '') . ".\n";
389
            }
390
        }
391
        else if ($runmode === 'reload') {
392
            if ((!Bootstrap::$pid) || (!posix_kill(Bootstrap::$pid, SIGUSR2))) {
@@ 392-394 (lines=3) @@
389
            }
390
        }
391
        else if ($runmode === 'reload') {
392
            if ((!Bootstrap::$pid) || (!posix_kill(Bootstrap::$pid, SIGUSR2))) {
393
                echo '[RELOAD] ERROR. It seems that phpDaemon is not running' . (Bootstrap::$pid ? ' (PID ' . Bootstrap::$pid . ')' : '') . ".\n";
394
            }
395
        }
396
        else if ($runmode === 'restart') {
397
            if ($error === false) {