Issues (1019)

src/Swoole/Process/CustomProcessInterface.php (20 issues)

1
<?php
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
namespace Hhxsv5\LaravelS\Swoole\Process;
4
5
use Swoole\Http\Server;
6
use Swoole\Process;
7
8
interface CustomProcessInterface
0 ignored issues
show
Missing doc comment for interface CustomProcessInterface
Loading history...
9
{
10
    /**
11
     * The run callback of process
12
     * @param Server $swoole
0 ignored issues
show
There must be exactly one blank line before the tags in a doc comment
Loading history...
Missing parameter comment
Loading history...
Expected 2 spaces after parameter type; 1 found
Loading history...
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1
Loading history...
13
     * @param Process $process
0 ignored issues
show
Missing parameter comment
Loading history...
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1
Loading history...
14
     * @return void
0 ignored issues
show
Tag @return cannot be grouped with parameter tags in a doc comment
Loading history...
15
     */
16
    public static function callback(Server $swoole, Process $process);
17
18
    /**
19
     * Trigger this method on receiving the signal SIGUSR1
20
     * @param Server $swoole
0 ignored issues
show
There must be exactly one blank line before the tags in a doc comment
Loading history...
Missing parameter comment
Loading history...
Expected 2 spaces after parameter type; 1 found
Loading history...
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1
Loading history...
21
     * @param Process $process
0 ignored issues
show
Missing parameter comment
Loading history...
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1
Loading history...
22
     * @return void
0 ignored issues
show
Tag @return cannot be grouped with parameter tags in a doc comment
Loading history...
23
     */
24
    public static function onReload(Server $swoole, Process $process);
25
26
    /**
27
     * Trigger this method on receiving the signal SIGTERM
28
     * Commented out due to version compatibility
29
     * @param Server $swoole
0 ignored issues
show
There must be exactly one blank line before the tags in a doc comment
Loading history...
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1
Loading history...
30
     * @param Process $process
0 ignored issues
show
Tag value for @param tag indented incorrectly; expected 2 spaces but found 1
Loading history...
31
     * @return void
0 ignored issues
show
Tag @return cannot be grouped with parameter tags in a doc comment
Loading history...
32
     */
33
    // public static function onStop(Server $swoole, Process $process);
34
}