mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Merge branch '2.4'
This commit is contained in:
commit
8ffd8bef08
7 changed files with 27 additions and 10 deletions
|
@ -17,6 +17,7 @@ use Composer\Util\Filesystem;
|
|||
use Composer\Util\Platform;
|
||||
use Composer\Util\Silencer;
|
||||
use LogicException;
|
||||
use RuntimeException;
|
||||
use Seld\Signal\SignalHandler;
|
||||
use Symfony\Component\Console\Application as BaseApplication;
|
||||
use Symfony\Component\Console\Exception\CommandNotFoundException;
|
||||
|
@ -514,6 +515,10 @@ class Application extends BaseApplication
|
|||
if ($required) {
|
||||
throw $e;
|
||||
}
|
||||
} catch (RuntimeException $e) {
|
||||
if ($required) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue