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

update psych dependancy from v0.7.2 to v0.9.6 #3

Open
digitall-it opened this issue Jul 29, 2018 · 2 comments
Open

update psych dependancy from v0.7.2 to v0.9.6 #3

digitall-it opened this issue Jul 29, 2018 · 2 comments

Comments

@digitall-it
Copy link

  • Problem: sliver cannot be installed
  • Procedure: composer global require littlegiant/sliver
  • Expected result: installation complete
  • Obtained result: Error message
  • Environment: Mac OSX High Sierra, PHP v7.1.17 via HomeBrew
  • Suggested operation: Update composer.json dependancies for psy/psysh to ^0.9.6
  • Log:
composer global require littlegiant/sliver
Changed current directory to ~/.composer
Using version ^0.1.0 for littlegiant/sliver
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: psy/psysh[v0.7.2, v0.9.6].
    - Can only install one of: psy/psysh[v0.9.6, v0.7.2].
    - Can only install one of: psy/psysh[v0.7.2, v0.9.6].
    - littlegiant/sliver 0.1.0 requires psy/psysh ^0.7.2 -> satisfiable by psy/psysh[v0.7.2].
    - Installation request for littlegiant/sliver ^0.1.0 -> satisfiable by littlegiant/sliver[0.1.0].
    - Installation request for psy/psysh (locked at v0.9.6, required as @stable) -> satisfiable by psy/psysh[v0.9.6].


Installation failed, reverting ./composer.json to its original content.
@stevie-mayhew
Copy link
Member

Hi @digitall-it

Thanks for the report! Would you be able to open a PR with the fix for us?

Cheers,
Stevie

@digitall-it
Copy link
Author

digitall-it commented Jul 30, 2018

Tried to test the configuration, but that not worked well, so didn't PR. Seems like if try to install 0.9.6 then a Symfony library gets installed that has some functions not supported by PHP 7.1, like function args with ?int(I think they are type hints that work in PHP 7.2). However, as my environment with the database was residing inside a vagrant machine anyway, I remembered to try again there, where PHP 7.0 is installed, and the software installed correctly.

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

2 participants