Skip to content

Commit

Permalink
[REFACTOR] Use string over constant due to scoped namespace.
Browse files Browse the repository at this point in the history
The namespace of the constant being used for monorepo config changed
everytime a new release was pushed due to the way they scope their
vendors. Therefore just use the string instead. It's unlikely
`require-dev` will change any time soon anyway.
  • Loading branch information
Ian Jenkins committed Aug 10, 2021
1 parent ab78e58 commit ca77ac2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions monorepo-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

declare( strict_types=1 );

use MonorepoBuilder20210802\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker;
Expand Down Expand Up @@ -47,7 +46,7 @@
$parameters->set(
Option::DATA_TO_REMOVE,
[
ComposerJsonSection::REQUIRE_DEV => [
'require-dev' => [
'roots/wordpress' => '*',
'symfony/dotenv' => '*',
],
Expand Down

0 comments on commit ca77ac2

Please sign in to comment.