Skip to content

Commit ceb37dc

Browse files
Anicet Dushime Wa Mungumeta-codesync[bot]
authored andcommitted
Assign hphp_hphpi oncall to PHP-inherited HHVM extensions
Summary: Set the oncall to "hphp_hphpi" for 55 HHVM extensions that are reimplementations of standard PHP/PECL extensions (e.g., array, curl, json, openssl, pcre, pdo, etc.) Since these extensions are PHP compatibility layers maintained by the HHVM team, hphp_hphpi is the appropriate oncall. Reviewed By: paulbiss Differential Revision: D95138365 fbshipit-source-id: d62646fc1d2cab488a6e733be86328765ea06669
1 parent ff68629 commit ceb37dc

54 files changed

Lines changed: 56 additions & 56 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

hphp/runtime/ext/apache/ext_apache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Array HHVM_FUNCTION(get_headers_secure) {
128128

129129
///////////////////////////////////////////////////////////////////////////////
130130

131-
ApacheExtension::ApacheExtension() : Extension("apache", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) {}
131+
ApacheExtension::ApacheExtension() : Extension("apache", NO_EXTENSION_VERSION_YET, "hphp_hphpi") {}
132132

133133
ApacheExtension::~ApacheExtension() {}
134134

hphp/runtime/ext/apc/ext_apc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace HPHP {
2727
///////////////////////////////////////////////////////////////////////////////
2828

2929
struct apcExtension final : Extension {
30-
apcExtension() : Extension("apc", "4.0.2", NO_ONCALL_YET) {}
30+
apcExtension() : Extension("apc", "4.0.2", "hphp_hphpi") {}
3131

3232
static bool Enable;
3333
static bool EnableApcSerialize;

hphp/runtime/ext/array/ext_array.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3035,7 +3035,7 @@ Array HHVM_FUNCTION(merge_xhp_attr_declarations,
30353035
///////////////////////////////////////////////////////////////////////////////
30363036

30373037
struct ArrayExtension final : Extension {
3038-
ArrayExtension() : Extension("array", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) {}
3038+
ArrayExtension() : Extension("array", NO_EXTENSION_VERSION_YET, "hphp_hphpi") {}
30393039
void moduleRegisterNative() override {
30403040
HHVM_RC_INT_SAME(UCOL_DEFAULT);
30413041

hphp/runtime/ext/bcmath/ext_bcmath.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ static Variant HHVM_FUNCTION(bcsqrt, const String& operand,
260260
///////////////////////////////////////////////////////////////////////////////
261261

262262
struct bcmathExtension final : Extension {
263-
bcmathExtension() : Extension("bcmath", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) {}
263+
bcmathExtension() : Extension("bcmath", NO_EXTENSION_VERSION_YET, "hphp_hphpi") {}
264264
void moduleRegisterNative() override {
265265
HHVM_FE(bcscale);
266266
HHVM_FE(bcadd);

hphp/runtime/ext/bz2/ext_bz2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ void HHVM_METHOD(ChunkedBunzipper, close) {
350350
///////////////////////////////////////////////////////////////////////////////
351351

352352
struct bz2Extension final : Extension {
353-
bz2Extension() : Extension("bz2", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) {}
353+
bz2Extension() : Extension("bz2", NO_EXTENSION_VERSION_YET, "hphp_hphpi") {}
354354

355355
void moduleLoad(const IniSetting::Map& /*ini*/, Hdf /*hdf*/) override {
356356
s_bzip2_stream_wrapper.registerAs("compress.bzip2");

hphp/runtime/ext/ctype/ext_ctype.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ bool HHVM_FUNCTION(ctype_xdigit, const Variant& text) {
101101
///////////////////////////////////////////////////////////////////////////////
102102

103103
struct CtypeExtension final : Extension {
104-
CtypeExtension() : Extension("ctype", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) {}
104+
CtypeExtension() : Extension("ctype", NO_EXTENSION_VERSION_YET, "hphp_hphpi") {}
105105
void moduleRegisterNative() override {
106106
HHVM_FE(ctype_alnum);
107107
HHVM_FE(ctype_alpha);

hphp/runtime/ext/curl/ext_curl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ bool HHVM_FUNCTION(curl_share_setopt, const OptResource& sh,
663663
///////////////////////////////////////////////////////////////////////////////
664664

665665
struct CurlExtension final : Extension {
666-
CurlExtension() : Extension("curl", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) {}
666+
CurlExtension() : Extension("curl", NO_EXTENSION_VERSION_YET, "hphp_hphpi") {}
667667
void moduleRegisterNative() override {
668668

669669
/* See https://curl.haxx.se/libcurl/c/symbols-in-versions.html

hphp/runtime/ext/datetime/ext_datetime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ TypedValue date_sunrise_sunset(int64_t timestamp, int64_t format,
914914
#define DATE_W3C "Y-m-d\\TH:i:sP"
915915

916916
static struct DateTimeExtension final : Extension {
917-
DateTimeExtension() : Extension("date", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) { }
917+
DateTimeExtension() : Extension("date", NO_EXTENSION_VERSION_YET, "hphp_hphpi") { }
918918

919919
void moduleRegisterNative() override {
920920
HHVM_ME(DateTime, __construct);

hphp/runtime/ext/domdocument/ext_domdocument.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5817,7 +5817,7 @@ Variant HHVM_FUNCTION(dom_import_simplexml,
58175817
///////////////////////////////////////////////////////////////////////////////
58185818

58195819
struct DOMDocumentExtension final : Extension {
5820-
DOMDocumentExtension() : Extension("domdocument", NO_EXTENSION_VERSION_YET, NO_ONCALL_YET) {}
5820+
DOMDocumentExtension() : Extension("domdocument", NO_EXTENSION_VERSION_YET, "hphp_hphpi") {}
58215821
void moduleRegisterNative() override {
58225822
HHVM_ME(DOMNode, appendChild);
58235823
HHVM_ME(DOMNode, cloneNode);

hphp/runtime/ext/fileinfo/ext_fileinfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static String HHVM_FUNCTION(mime_content_type, const Variant& filename) {
241241
//////////////////////////////////////////////////////////////////////////////
242242

243243
struct fileinfoExtension final : Extension {
244-
fileinfoExtension() : Extension("fileinfo", "1.0.5-dev", NO_ONCALL_YET) {}
244+
fileinfoExtension() : Extension("fileinfo", "1.0.5-dev", "hphp_hphpi") {}
245245
void moduleRegisterNative() override {
246246
HHVM_RC_INT(FILEINFO_NONE, MAGIC_NONE);
247247
HHVM_RC_INT(FILEINFO_SYMLINK, MAGIC_SYMLINK);

0 commit comments

Comments
 (0)