Skip to content

Commit

Permalink
Merge pull request #40 from neos/6.0
Browse files Browse the repository at this point in the history
MERGE: 6.0
  • Loading branch information
albe committed Apr 19, 2020
2 parents a7ee073 + 99821d5 commit a9afa47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TravisCi/ComposerManifestUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
exit(1);
}

// Merge dev requirements from dev-collection
$buildComposerManifest = json_decode(file_get_contents('../../' . $travisRepoSlug . '/composer.json'), true);
if (isset($buildComposerManifest['require-dev'])) {
$composerManifest['require-dev'] = array_merge($composerManifest['require-dev'], $buildComposerManifest['require-dev']);
}

$output = json_encode($composerManifest, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL;
print_r($output);
file_put_contents('composer.json', $output);
Expand Down

0 comments on commit a9afa47

Please sign in to comment.