php-schema2class
php-schema2class copied to clipboard
bin script unusable on windows
Composer typically ensures compatibility between operating systems - what the plugin vendor needs to do is to provide a PHP-based bin script, not bash or anything else.
Currently, the bin script (as referenced from composer.json) is wrong - composer doesn't consider it as PHP and ends up generating the wrong type of proxy script.
The fix, in short:
cmd/s2cshould be removedcmd/s2c.phpshould be renamed tocmd/s2cand optionally made executable withchmod +x
Here's an example of how phpunit does it: the script, the composer reference