Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add replace clause to composer.json for mnapoli package #280

Merged
merged 1 commit into from Jul 20, 2015
Merged

Add replace clause to composer.json for mnapoli package #280

merged 1 commit into from Jul 20, 2015

Conversation

nstory
Copy link

@nstory nstory commented Jul 10, 2015

Without this replace clause, it's possible to install both the mnapoli/php-di and php-di/php-di packages in the same project. Here is a sample composer.json which demonstrates this problem:

{
    "name": "nstory/tstprj",
    "require": {
      "php-di/php-di": "*",
      "mnapoli/php-di": "*"
    }
}

Running composer update with the above will create both vendor/mnapoli/php-di and vendor/php-di/php-di.

@mnapoli
Copy link
Member

mnapoli commented Jul 20, 2015

Nice idea, thank you!

mnapoli added a commit that referenced this pull request Jul 20, 2015
Add replace clause to composer.json for mnapoli package
@mnapoli mnapoli merged commit a9b6818 into PHP-DI:master Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants