Skip to content

Commit

Permalink
Merge branch 'disable-plugins' into Double-namespacing-fix-coenjacobs#47
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Oct 9, 2022
2 parents 08ba84f + 326fc62 commit 02fc2e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Composer/ComposerPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static function fromFile(string $absolutePath, array $overrideAutoload =
$absolutePath = rtrim($absolutePath, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'composer.json';
}

$composer = Factory::create(new NullIO(), $absolutePath);
$composer = Factory::create(new NullIO(), $absolutePath, true);

return new ComposerPackage($composer, $overrideAutoload);
}
Expand All @@ -83,7 +83,7 @@ public static function fromComposerJsonArray($jsonArray, array $overrideAutoload
{
$factory = new Factory();
$io = new NullIO();
$composer = $factory->createComposer($io, $jsonArray);
$composer = $factory->createComposer($io, $jsonArray, true);

return new ComposerPackage($composer, $overrideAutoload);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/ProjectComposerPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(string $absolutePath, array $overrideAutoload = null
}
unset($absolutePath);

$composer = Factory::create(new NullIO(), $absolutePathFile);
$composer = Factory::create(new NullIO(), $absolutePathFile, true);

parent::__construct($composer, $overrideAutoload);

Expand Down

0 comments on commit 02fc2e1

Please sign in to comment.