SolverBugException.php 766 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of Composer.
  4. *
  5. * (c) Nils Adermann <naderman@naderman.de>
  6. * Jordi Boggiano <j.boggiano@seld.be>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Composer\DependencyResolver;
  12. /**
  13. * @author Nils Adermann <naderman@naderman.de>
  14. */
  15. class SolverBugException extends \RuntimeException
  16. {
  17. public function __construct($message)
  18. {
  19. parent::__construct(
  20. $message."\nThis exception was most likely caused by a bug in Composer.\n".
  21. "Please report the command you ran, the exact error you received, and your composer.json on https://github.com/composer/composer/issues - thank you!\n"
  22. );
  23. }
  24. }