Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit 010b1ad

Browse files
committed
add namespace-related flags
defaults changed in HHVM 4.73
1 parent 4624123 commit 010b1ad

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.hhconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ user_attributes=
99
disable_static_local_variables = true
1010
disable_primitive_refinement=true
1111
disallow_array_literal = true
12+
enable_xhp_class_modifier=false
13+
disable_xhp_element_mangling=false
14+
disable_xhp_children_declarations=false
1215
allowed_decl_fixme_codes=2049,2053,4045
1316
allowed_fixme_codes_strict=2011,2049,2050,2053,4026,4027,4045,4053,4057,4107,4108,4110,4112,4128,4135,4188,4240,4281,4323,4343

.travis.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ php --version
99
cd $(mktemp -d)
1010
curl https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1111
)
12-
composer install
12+
composer install --no-autoloader
13+
14+
hhvm \
15+
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
16+
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
17+
vendor/bin/hh-autoload
1318

1419
hh_client
15-
vendor/bin/hacktest tests/
20+
21+
hhvm \
22+
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
23+
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
24+
vendor/bin/hacktest tests/

0 commit comments

Comments
 (0)