mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Exclude code from coverage
This commit is contained in:
parent
4ffc29781d
commit
372bf9f630
2 changed files with 7 additions and 0 deletions
|
@ -229,6 +229,10 @@ USAGE_TEXT;
|
|||
return 0;
|
||||
}
|
||||
|
||||
/** Daemonizes the process via the traditional sysvinit double-fork procedure
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
protected function fork(string $pidfile): void {
|
||||
// check that the PID file is not already used by another process
|
||||
$this->checkPID($pidfile, false);
|
||||
|
|
|
@ -103,6 +103,9 @@ class Service {
|
|||
}
|
||||
}
|
||||
|
||||
/** Changes the condition for the service loop upon receiving a termination signal
|
||||
*
|
||||
* @codeCoverageIgnore */
|
||||
protected function sigTerm(int $signo): void {
|
||||
$this->loop = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue