| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function execute(ConsumerEvent $event, $directory) |
||
| 25 | { |
||
| 26 | $output = null; |
||
| 27 | $workingDirectory = $this->workingTempPath.'/'.$directory; |
||
| 28 | |||
| 29 | $process = $this->runProcess(sprintf('%s show --installed', $this->composerBinPath), $workingDirectory, $output); |
||
| 30 | if ($process->isSuccessful()) { |
||
| 31 | $this->triggerComposerInstalled($event, ['message' => $process->getOutput()]); |
||
| 32 | } |
||
| 33 | |||
| 34 | return 0; |
||
| 35 | } |
||
| 36 | } |
||
| 37 |