Issues (2884)

src/App/Config/ConfigListenerInterface.php (8 issues)

1
<?php
2
3
/**
4
 * ConfigListenerInterface.php
5
 *
6
 * Listener interface for config changes.
7
 *
8
 * @package jaxon-core
0 ignored issues
show
Package name "jaxon-core" is not valid; consider "Jaxoncore" instead
Loading history...
9
 * @author Thierry Feuzeu <[email protected]>
10
 * @copyright 2022 Thierry Feuzeu <[email protected]>
11
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
12
 * @link https://github.com/jaxon-php/jaxon-core
13
 */
0 ignored issues
show
PHP version not specified
Loading history...
Missing @category tag in file comment
Loading history...
14
15
namespace Jaxon\App\Config;
16
17
use Jaxon\Utils\Config\Config;
18
19
interface ConfigListenerInterface
0 ignored issues
show
Missing doc comment for interface ConfigListenerInterface
Loading history...
20
{
21
    /**
22
     * Config option changed, in case of multiple changes, the name is an empty string
23
     *
24
     * @param Config $xConfig
0 ignored issues
show
Missing parameter comment
Loading history...
25
     * @param string $sName The option name
0 ignored issues
show
Expected 3 spaces after parameter name; 1 found
Loading history...
26
     *
27
     * @return void
28
     */
29
    public function onChange(Config $xConfig, string $sName);
0 ignored issues
show
Expected 2 blank lines before function; 0 found
Loading history...
Expected 2 blank lines after function; 0 found
Loading history...
30
}
31