Skip to content

Commit 886a89f

Browse files
oulgenfacebook-github-bot
authored andcommitted
Set default of EnforceModules to exception in runtime
Reviewed By: jamesjwu Differential Revision: D40518911 fbshipit-source-id: 8a42a9aae9155520a5b60ea085bf6a8238329e74
1 parent bd4570d commit 886a89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hphp/runtime/base/runtime-option.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ struct RuntimeOption {
13261326
* 1 - Warn \
13271327
* 2 - Throw exception \
13281328
*/ \
1329-
F(uint32_t, EnforceModules, 1) \
1329+
F(uint32_t, EnforceModules, 2) \
13301330
/* \
13311331
* Controls behavior on reflection to default value expressions \
13321332
* that throw during evaluation \

0 commit comments

Comments
 (0)