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

mozart tool compatibility #463

Open
olegabr opened this issue Dec 21, 2020 · 0 comments
Open

mozart tool compatibility #463

olegabr opened this issue Dec 21, 2020 · 0 comments

Comments

@olegabr
Copy link

olegabr commented Dec 21, 2020

🚀 feature request

Description

I'm using mozart tool in my plugin project: https://github.com/coenjacobs/mozart/

It can not process freemius/wordpress-sdk because it prunes the composer.json file: https://github.com/Freemius/wordpress-sdk/blob/master/package.json#L12

> "vendor/bin/mozart" compose
PHP Warning:  file_get_contents(/home/USERNAME/PROJECTDIR/vendor/freemius/wordpress-sdk//composer.json): failed to open stream: No such file or directory in /home/USERNAME/PROJECTDIR/vendor/coenjacobs/mozart/src/Composer/Package.php on line 33
PHP Warning:  file_get_contents(/home/USERNAME/PROJECTDIR/vendor/freemius/wordpress-sdk/composer.json): failed to open stream: No such file or directory in /home/USERNAME/PROJECTDIR/vendor/coenjacobs/mozart/src/Console/Commands/Compose.php on line 171
PHP Notice:  Trying to get property 'name' of non-object in /home/USERNAME/PROJECTDIR/vendor/coenjacobs/mozart/src/Mover.php on line 103

Describe the solution you'd like

Do not prune the composer.json file here please: https://github.com/Freemius/wordpress-sdk/blob/master/package.json#L12

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

No branches or pull requests

1 participant