getChamiloRequirements() as $requirement) { /** @var Requirement $requirement */ if (!$requirement->isFulfilled()) { echo $requirement->getTestMessage() . "\n"; } }