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

Commit

Permalink
add namespace-related flags
Browse files Browse the repository at this point in the history
defaults changed in HHVM 4.73
  • Loading branch information
jjergus committed Sep 1, 2020
1 parent 4624123 commit 010b1ad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .hhconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ user_attributes=
disable_static_local_variables = true
disable_primitive_refinement=true
disallow_array_literal = true
enable_xhp_class_modifier=false
disable_xhp_element_mangling=false
disable_xhp_children_declarations=false
allowed_decl_fixme_codes=2049,2053,4045
allowed_fixme_codes_strict=2011,2049,2050,2053,4026,4027,4045,4053,4057,4107,4108,4110,4112,4128,4135,4188,4240,4281,4323,4343
13 changes: 11 additions & 2 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ php --version
cd $(mktemp -d)
curl https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
)
composer install
composer install --no-autoloader

hhvm \
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
vendor/bin/hh-autoload

hh_client
vendor/bin/hacktest tests/

hhvm \
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
vendor/bin/hacktest tests/

0 comments on commit 010b1ad

Please sign in to comment.