Esempio n. 1
0
 protected function interact(InputInterface $input, OutputInterface $output)
 {
     $filter = new PublishFilter($input);
     // preparing package and group params:
     // validating and parsing
     $filter->process();
 }
Esempio n. 2
0
 public function testFailOptionPath()
 {
     $this->prepareArguments();
     $this->prepareOptions('./', uniqid());
     $filter = new PublishFilter($this->inputMock);
     $this->setExpectedException(InvalidConfigPathOptionException::class);
     $filter->process();
 }