#!/usr/bin/env php validate(); // Exit with appropriate code for shell scripts if (php_sapi_name() === 'cli') { exit(count($prerequisites->getErrors()) > 0 ? 1 : 0); }