#!/usr/bin/env php v_country;" ) !== false; $pipeline = file_get_contents($root . '/lib/Cloak/Pipeline/CheckPipeline.php'); $tests['pipeline_conditional_geo'] = strpos($pipeline, 'CountryAllowlist::isEnabled()') !== false; $ok = !in_array(false, $tests, true); echo json_encode(['ok' => $ok, 'tests' => $tests], JSON_UNESCAPED_UNICODE) . "\n"; exit($ok ? 0 : 1);