mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Revert "Remove getCode usage as it is not type safe apparently, see https://github.com/phpstan/phpstan-src/pull/795"
This reverts commit 84f8fda0c6
.
And other issues fixed by PHPStan 1.3.2
This commit is contained in:
parent
65c8daa969
commit
508ac051ec
3 changed files with 4 additions and 12 deletions
|
@ -39,14 +39,6 @@ class SolverProblemsException extends \RuntimeException
|
|||
parent::__construct('Failed resolving dependencies with '.count($problems).' problems, call getPrettyString to get formatted details', self::ERROR_DEPENDENCY_RESOLUTION_FAILED);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return self::ERROR_DEPENDENCY_RESOLUTION_FAILED
|
||||
*/
|
||||
public function getExitCode()
|
||||
{
|
||||
return self::ERROR_DEPENDENCY_RESOLUTION_FAILED;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $isVerbose
|
||||
* @param bool $isDevExtraction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue