Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
12 | public function __construct(\SSpkS\Config $config) |
||
13 | { |
||
14 | $this->config = $config; |
||
15 | |||
16 | // ordered by priority (top to bottom) |
||
17 | $this->handler_list = array( |
||
18 | 'SynologyHandler', |
||
19 | 'BrowserRedirectHandler', |
||
20 | 'BrowserPackageListHandler', |
||
21 | 'BrowserAllPackagesListHandler', |
||
22 | 'BrowserDeviceListHandler', |
||
23 | 'NotFoundHandler' |
||
24 | ); |
||
25 | } |
||
26 | |||
40 |
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString
.