videlalvaro/XhprofBundle — comment on commit 3ab93c9dab52bdf177dd69e64407c12f6a931a6e
File: DataCollector/XhprofCollector.php line 26
By jonaswouters:

Adding a required parameter after an optional parameter makes the optional parameter a required parameter.
Solution: Move the logger parameter behind xhprofhelper so its an optional parameter again.

public function __construct(ContainerInterface $container, $xhprofHelper, LoggerInterface $logger = null)