/", $adminController), 'The retired language key is still writable through the administrator configuration API.'); foreach ([ 'web/app/Controllers/HomeController.php', 'web/app/Controllers/AuthController.php', 'web/app/Controllers/PasswordController.php', ] as $path) { $source = $read($path); $assert(!str_contains($source, "get('language'") && !str_contains($source, "where('name', 'language')"), 'The retired global language configuration is still read by ' . $path . '.'); } echo "Administrator forced-language removal contract passed.\n";