fix is_new issue with enrollment fixes
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Failing after 1m22s

This commit is contained in:
root
2026-08-20 19:57:25 -04:00
parent 127098b87c
commit 889c037660
29 changed files with 77306 additions and 293 deletions
+20
View File
@@ -7,6 +7,26 @@ if (! getenv('CI_ENVIRONMENT')) {
$_SERVER['CI_ENVIRONMENT'] = 'testing';
}
// Minimal Locale polyfill when the intl extension is unavailable in the test PHP build.
if (! class_exists(\Locale::class, false)) {
class Locale
{
private static string $default = 'en';
public static function setDefault(string $locale): bool
{
self::$default = $locale;
return true;
}
public static function getDefault(): string
{
return self::$default;
}
}
}
$writablePath = realpath(__DIR__ . '/../..') . DIRECTORY_SEPARATOR . 'writable';
$runtimeDirectories = [
$writablePath . DIRECTORY_SEPARATOR . 'cache',