Sha256: be31a4058382625141ade1fa9531bddf2ecdbd6c5783d55c091bbfe01d06c176
Contents?: true
Size: 667 Bytes
Versions: 632
Compression:
Stored size: 667 Bytes
Contents
<?php declare(strict_types=1); namespace Dependabot\Composer; use Composer\IO\NullIO; final class ExceptionIO extends NullIO { private bool $raise_next_error = false; public function writeError($messages, $newline = true, $verbosity = self::NORMAL): void { if (is_array($messages)) { return; } if ($this->raise_next_error) { throw new \RuntimeException('Your requirements could not be resolved to an installable set of packages.' . $messages); } if (strpos($messages, 'Your requirements could not be resolved') !== false) { $this->raise_next_error = true; } } }
Version data entries
632 entries across 345 versions & 1 rubygems