l10n->t('PHP getenv'); } public function getCategory(): string { return 'php'; } public function run(): SetupResult { if (!empty(getenv('PATH'))) { return SetupResult::success(); } else { return SetupResult::warning($this->l10n->t('PHP does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.'), $this->urlGenerator->linkToDocs('admin-php-fpm')); } } }