Skip to content

Commit

Permalink
Merge pull request #1 from apfelbox/baukevdw-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
baukevdw authored Oct 12, 2022
2 parents a9c6bb7 + 735e94f commit 85b440f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
"composer/composer": "1.10.x-dev",
"composer/composer": "^2.4.2",
"phpspec/phpspec": "^6.3 || ^7.0"
},
"replace": {
Expand Down
3 changes: 2 additions & 1 deletion src/Composer/StudioPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ public function registerStudioPackages()
foreach ($this->getManagedPaths() as $path) {
$this->io->writeError("[Studio] Loading path $path");

// In case composer version >= 2.3.0
// Composer v2 always exposes the internal loop, so keep reusing it
// that is a fixed requirement since Composer >= 2.3
if (method_exists($this->composer, 'getLoop')) {
$repoManager->prependRepository(new PathRepository(
['url' => $path],
Expand Down

0 comments on commit 85b440f

Please sign in to comment.