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

Always add stub (even when no index file is defined) #28

Open
clue opened this issue Mar 12, 2014 · 0 comments
Open

Always add stub (even when no index file is defined) #28

clue opened this issue Mar 12, 2014 · 0 comments

Comments

@clue
Copy link
Owner

clue commented Mar 12, 2014

Currently, the stub will not be added when no main index file is defined. As such, PHP's less versatile default stub will be added, which, among others, does not properly support systems without ext-phar.

Steps to reproduce:

# build a phar with no main file
$ phar-composer build erik-dubbelboer/php-redis-admin:dev-master bad.phar
# execute on a platform without ext-phar
$ php-pharless bad.phar
ERROR: manifest length read was "1553257" should be "35323904"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant