| Conditions | 3 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function start(MessageHandlerInterface $handler) |
||
|
|
|||
| 47 | {
|
||
| 48 | if ($this->config['prod'] && \extension_loaded('xdebug')) {
|
||
| 49 | throw new \Exception('xdebug is enabled, it\'s a performance issue. Disable that extension or specify "prod" option to false.');
|
||
| 50 | } |
||
| 51 | |||
| 52 | $connection = new Connection($this->connectorFactory->createConnector($this->host, $this->port)); |
||
| 53 | } |
||
| 54 | |||
| 67 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.