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

composer require smalot/cups-ipp #12

Open
boomsya opened this issue May 8, 2019 · 1 comment
Open

composer require smalot/cups-ipp #12

boomsya opened this issue May 8, 2019 · 1 comment

Comments

@boomsya
Copy link

boomsya commented May 8, 2019

root@ubuntu:/var/www/html/ipp# composer require smalot/cups-ipp
Using version ^0.4.0 for smalot/cups-ipp
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)

Installation failed, deleting ./composer.json.

  [ErrorException]                                                                         
  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?  
                                                                                           
require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...

@boomsya
Copy link
Author

boomsya commented May 8, 2019

damn, this problem in composer with a php 7.3

As a quick and dirty alternative, you can fix the error in that one file. Just replace "continue" with "break" (or maybe "continue 2").

/usr/share/php/Composer/DependencyResolver/RuleSetGenerator.php at line 286

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