This repository was archived by the owner on Oct 14, 2024. It is now read-only.
Open
Conversation
Even though --prefer-dist is used, the test folders of symfony still show up. Nothing in `/opt/phan/tests/` is needed to invoke Phan on an external project in /mnt/src. These take up 0.5 MB in the final image(19.6 vs 20.1 MB)
Contributor
|
I'm hesitant of reaching into vendor and modifying contents, even if they just are removing the tests cases. Does Symfony have a ticket to track this? |
Author
|
https://getcomposer.org/doc/04-schema.md#archive is the closest, but applies to phar files It seems like the deployment process would have to be changed, see https://github.com/composer/composer/ issue 5367, which is inconvenient |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Even though --prefer-dist is used, the test folders of symfony still
show up.
Nothing in
/opt/phan/tests/is needed to invoke Phan on anexternal project in /mnt/src.
These take up 0.5 MB in the final image(19.6 vs 20.1 MB)