getFailedRequirements(); $minorProblems = $symfonyRequirements->getFailedRecommendations(); $hasMajorProblems = (bool) count($majorProblems); $hasMinorProblems = (bool) count($minorProblems); ?> Symfony Configuration Checker