Skip to content

Commit

Permalink
Update ComposerController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Mar 15, 2017
1 parent a4d4250 commit bdc8389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ComposerController.php
Expand Up @@ -69,8 +69,8 @@ public function checkDependencies()
]);

$output = $this->executeComposerCommand($input);

$dependencies = array_filter(explode("\n", $output->fetch()));
$packages = [];
foreach ($dependencies as $dependency) {
if (strpos($dependency, 'php_network_getaddresses') !== false) {
throw new \RuntimeException('You have to be connected to the internet');
Expand Down

0 comments on commit bdc8389

Please sign in to comment.