/**
* Resolves risky allowed flag.
*/
private function resolveRiskyAllowed()
{
if (null !== $this->options['allow-risky']) {
$this->allowRisky = 'yes' === $this->options['allow-risky'];
return;
}
$this->allowRisky = $this->config->getRiskyAllowed();
}