| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function __construct($container = []) |
||
| 23 | { |
||
| 24 | parent::__construct($container); |
||
| 25 | |||
| 26 | $this->getContainer()['event_dispatcher'] = function (Container $pimple) { |
||
|
|
|||
| 27 | return new EventDispatcher(); |
||
| 28 | }; |
||
| 29 | |||
| 30 | $this->getContainer()['console.output'] = function (Container $pimple) { |
||
| 31 | return new ConsoleOutput(OutputInterface::VERBOSITY_VERBOSE); |
||
| 32 | }; |
||
| 33 | |||
| 34 | if (class_exists(PimpleDumper::class)) { |
||
| 35 | $this->getContainer()->register(new PimpleDumper()); |
||
| 36 | } |
||
| 37 | } |
||
| 38 | |||
| 61 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.