| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function execute(ConsumerEvent $event, $directory) |
||
| 25 | { |
||
| 26 | $this->triggerNewStep($event, ['message' => 'Starting async job']); |
||
| 27 | |||
| 28 | $this->filesystem->mkdir($this->workingTempPath.'/'.$directory); |
||
| 29 | $this->filesystem->dumpFile( |
||
| 30 | sprintf('%s/%s/composer.json', $this->workingTempPath, $directory), |
||
| 31 | $event->getMessage()->getValue('body') |
||
| 32 | ); |
||
| 33 | |||
| 34 | return 0; |
||
| 35 | } |
||
| 36 | } |
||
| 37 |