Failed Conditions
Push — psr2-config ( de33cd...0a5b05 )
by Andreas
04:27
created

SettingUndefined   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A shouldHaveDefault() 0 3 1
1
<?php
2
3
namespace dokuwiki\plugin\config\core\Setting;
4
5
/**
6
 * A do-nothing class used to detect settings with no metadata entry.
7
 * Used internaly to hide undefined settings, and generate the undefined settings list.
8
 */
9
class SettingUndefined extends SettingHidden {
10
11
    /** @inheritdoc */
12
    public function shouldHaveDefault() {
13
        return false;
14
    }
15
16
}
17