Exception
public function php() : Php { if (!$this->hasPhp()) { throw new Exception('Code Coverage report "PHP" has not been configured'); } return $this->php; }