This repository has been archived on 2025-01-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
$this->addTrace(sprintf('Host "%s" does not match the requirement ("%s")',$this->context->getHost(),$route->getHost()),self::ROUTE_ALMOST_MATCHES,$name,$route);
$this->addTrace(sprintf('Method "%s" does not match any of the required methods (%s)',$this->context->getMethod(),implode(', ',$requiredMethods)),self::ROUTE_ALMOST_MATCHES,$name,$route);
$this->addTrace(sprintf('Condition "%s" does not evaluate to "true"',$condition),self::ROUTE_ALMOST_MATCHES,$name,$route);
continue;
}
}
// check HTTP scheme requirement
if($requiredSchemes=$route->getSchemes()){
$scheme=$this->context->getScheme();
if(!$route->hasScheme($scheme)){
$this->addTrace(sprintf('Scheme "%s" does not match any of the required schemes (%s); the user will be redirected to first required scheme',$scheme,implode(', ',$requiredSchemes)),self::ROUTE_ALMOST_MATCHES,$name,$route);