public function configure()
 {
     parent::configure();
     $container = $this->container;
     $executable = realpath(__DIR__ . '/../bin/behat-phpguard');
     $this->options['executable'] = $executable;
     if (!$container->has('behat.inspector')) {
         $container->setShared('behat.inspector', function () {
             return new Inspector();
         });
     }
 }
 public function addWatcher(Watcher $watcher)
 {
     parent::addWatcher($watcher);
     if ($this->options['always_lint']) {
         $options = $watcher->getOptions();
         $linters = array_keys($options['lint']);
         if (!in_array('php', $linters)) {
             $linters[] = 'php';
             $options['lint'] = $linters;
             $watcher->setOptions($options);
         }
     }
 }