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

[5.5] Fixes issue with multiple dont-discover packages #22443

Merged
merged 1 commit into from
Dec 15, 2017
Merged

[5.5] Fixes issue with multiple dont-discover packages #22443

merged 1 commit into from
Dec 15, 2017

Conversation

jhoff
Copy link
Contributor

@jhoff jhoff commented Dec 15, 2017

Currently the PackageManefest::build() process will only honor the first dont-discover that it encounters, ignoring the rest.

This is because array union (+=) doesn't work as the original author intended. Instead, using array_merge will produce a complete list of packages to ignore.

Adding this use case in /fixtures/vendor/composer/installed.json, breaks the FoundationPackageManifestTest::testAssetLoading() unit test as expected, and the provided fix resolves the issue making the test pass again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants