| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function handle() |
||
| 28 | { |
||
| 29 | foreach ($this->handler_list as $possible_handler) { |
||
| 30 | // Add namespace to class name |
||
| 31 | $possible_handler = '\\SSpkS\\Handler\\' . $possible_handler; |
||
| 32 | $handler = new $possible_handler($this->config); |
||
| 33 | if ($handler->canHandle()) { |
||
| 34 | $handler->handle(); |
||
| 35 | break; |
||
| 36 | } |
||
| 37 | } |
||
| 38 | } |
||
| 39 | } |
||
| 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.