Issues (2921)

src/Check/CheckInterface.php (26 issues)

1
<?php
2
3
/**
4
 * This file is part of the `tvi/monitor-bundle` project.
5
 *
6
 * (c) https://github.com/turnaev/monitor-bundle/graphs/contributors
7
 *
8
 * For the full copyright and license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
0 ignored issues
show
PHP version not specified
Loading history...
Missing @category tag in file comment
Loading history...
Missing @package tag in file comment
Loading history...
Missing @author tag in file comment
Loading history...
Missing @license tag in file comment
Loading history...
Missing @link tag in file comment
Loading history...
11
12
namespace Tvi\MonitorBundle\Check;
13
14
/**
0 ignored issues
show
Missing short description in doc comment
Loading history...
15
 * @author Vladimir Turnaev <[email protected]>
16
 */
0 ignored issues
show
Missing @category tag in class comment
Loading history...
Missing @package tag in class comment
Loading history...
Missing @license tag in class comment
Loading history...
Missing @link tag in class comment
Loading history...
17
interface CheckInterface
18
{
19
    public function getId(): string;
0 ignored issues
show
Missing doc comment for function getId()
Loading history...
20
21
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
Parameter $id should have a doc-comment as per coding-style.
Loading history...
22
     * @return $this
23
     */
24
    public function setId(string $id);
25
26
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
27
     * @return string[]
28
     */
29
    public function getTags(): array;
30
31
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
32
     * @param string[] $tags
0 ignored issues
show
Missing parameter comment
Loading history...
33
     */
0 ignored issues
show
Missing @return tag in function comment
Loading history...
34
    public function setTags(array $tags);
35
36
    public function getGroup(): string;
0 ignored issues
show
Missing doc comment for function getGroup()
Loading history...
37
38
    public function setGroup(string $group);
0 ignored issues
show
Missing doc comment for function setGroup()
Loading history...
39
40
    public function setAdditionParams(array $data);
0 ignored issues
show
Missing doc comment for function setAdditionParams()
Loading history...
41
42
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
43
     * @return ?string
44
     */
45
    public function getDescr();
46
47
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
48
     * @param ?null $descr
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $descr is correct as it would always require null to be passed?
Loading history...
Missing parameter comment
Loading history...
49
     */
0 ignored issues
show
Missing @return tag in function comment
Loading history...
50
    public function setDescr(string $descr = null);
51
}
52