Skip to content

Commit

Permalink
Support HHVM 3.24
Browse files Browse the repository at this point in the history
Summary:
- remove bin/: no longer used, and not compatible with CTPBR
 - update all dependencies to 3.24-compatible versions
 - update .hhconfig to test 3.24 flags
Closes #44

Reviewed By: periodic1236

Differential Revision: D6668942

Pulled By: periodic1236

fbshipit-source-id: 2a007d47ccc19ba2ca63194133d90ec13b562e91
  • Loading branch information
fredemmott authored and facebook-github-bot committed Jan 5, 2018
1 parent 3f5c3c9 commit ef61c01
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 588 deletions.
2 changes: 2 additions & 0 deletions .hhconfig
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
assume_php=false
enable_experimental_tc_features = safe_pass_by_ref, safe_array, safe_vector_array, contextual_inference
ignored_paths = [ "vendor/.+/tests/.+" ]
9 changes: 2 additions & 7 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@ hh_server --check $(pwd)
hhvm -d hhvm.php7.all=0 -d hhvm.jit=0 vendor/bin/phpunit
hhvm -d hhvm.php7.all=1 -d hhvm.jit=0 vendor/bin/phpunit

hhvm -d hhvm.jit=0 bin/generate-docs.php $(mktemp -d)

HHVM_VERSION=$(hhvm --php -r 'echo HHVM_VERSION_ID;' 2>/dev/null);
if [ $HHVM_VERSION -ge 32200 -a $HHVM_VERSION -lt 32300 ]; then
echo enable_experimental_tc_features = optional_shape_field, unknown_fields_shape_is_not_subtype_of_known_fields_shape >> .hhconfig
hh_server --check $(pwd)
fi
sed -i '/enable_experimental_tc_features/d' .hhconfig
hh_server --check $(pwd)
271 changes: 0 additions & 271 deletions bin/generate-docs.php

This file was deleted.

Loading

0 comments on commit ef61c01

Please sign in to comment.