Issues (2921)

src/Check/CheckPluginInterface.php (16 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
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
15
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
16
use Tvi\MonitorBundle\Exception\FeatureRequired;
17
18
/**
0 ignored issues
show
Missing short description in doc comment
Loading history...
19
 * @author Vladimir Turnaev <[email protected]>
20
 */
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...
21
interface CheckPluginInterface
22
{
23
    const PATH = null;
24
25
    const GROUP = null;
26
    const DESCR = null;
27
28
    const CHECK_NAME = null;
29
30
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
Parameter $checkSettings should have a doc-comment as per coding-style.
Loading history...
31
     * @throws FeatureRequired
32
     */
0 ignored issues
show
Missing @return tag in function comment
Loading history...
33
    public function checkRequirements(array $checkSettings);
34
35
    public function checkConf(TreeBuilder $builder): ArrayNodeDefinition;
0 ignored issues
show
Missing doc comment for function checkConf()
Loading history...
36
37
    public function checkFactoryConf(TreeBuilder $builder): ArrayNodeDefinition;
0 ignored issues
show
Missing doc comment for function checkFactoryConf()
Loading history...
38
}
39