-
Notifications
You must be signed in to change notification settings - Fork 19
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
Not bundling the composer file fails on some dependencies #50
Comments
The only reason that I remove I assumed that no third-party code will need its composer.json, but you prove me that it's not the case 😄 Feel free to open a PR to remove this line. |
@MacFJA and on another hand for some tools like PHP-CS-Fixer where compression is disabled they should by all means be excluded along with some unneeded composer related files :/ |
@theofidry If dependencies are managed correctly (for example |
@MacFJA I meant PHP-CS-Fixer as the tool itself for its own PHAR, not as a dep. Their PHAR is not compressed, so excluding files like |
@theofidry Can you confirm my test results in the PR and verify it's not a concern please? |
Also does php-cs-fixer even use this project to build there phar? @theofidry As far as I can see they are using box |
I'm just sharing this information in case this might be a concern, not to say the |
I have a dependency in my project which tries to check its own
composer.json
file to get its version.In
PharBuilder.php
you specifically exclude composer files from the build.Is / was there a specific reason for this and if not would you mind if I open a PR to allow for the composer.json file to be included into the build?
I guess it would be neat if it would be part of the configuration at some point, but for now I quick fix by just removing the line would work for me.
The text was updated successfully, but these errors were encountered: