cups-ipp icon indicating copy to clipboard operation
cups-ipp copied to clipboard

composer require smalot/cups-ipp

Open boomsya opened this issue 5 years ago • 1 comments

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 avatar May 08 '19 09:05 boomsya

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

boomsya avatar May 08 '19 09:05 boomsya