The "Locale" class has been renamed to AppLocale to avoid a class name clash with more recent versions of PHP.