Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit b897ada

Browse files
committed
Update dependencies, support nightlies, target 3.27
1 parent 4106748 commit b897ada

File tree

6 files changed

+190
-80
lines changed

6 files changed

+190
-80
lines changed

.hhconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
assume_php=false
2-
enable_experimental_tc_features = no_fallback_in_namespaces, unpacking_check_arity, disallow_refs_in_array, disallow_untyped_lambda_as_non_function_type
3-
safe_array = true
4-
safe_vector_array = true
5-
disallow_destruct = true
2+
3+
disallow_elvis_space=true
4+
disallow_non_arraykey_keys=true
5+
disallow_unsafe_comparisons=true
6+
decl_override_require_hint=true
7+
enable_experimental_tc_features=shape_field_check,sealed_classes
68

79
# ignore HHAST as:
810
# - otherwise, we get a circular dependency
911
# - we don't use anything other than executables from it
1012
ignored_paths = [ "vendor/.+/tests/.+", "vendor/hhvm/hhast/.+" ]
11-
forward_compatibility_level=3.27
13+
forward_compatibility_level=20180704

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: php
22
php:
33
- hhvm
4-
- hhvm-3.24
4+
- hhvm-3.27
55
- hhvm-nightly
66
script:
77
- ./.travis.sh

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Hack Codegen is a library for programatically generating Hack code",
44
"keywords": ["code generation", "Hack"],
55
"require": {
6-
"hhvm": ">=3.23.0",
6+
"hhvm": ">=3.27.0",
77
"hhvm/hhvm-autoload": "^1.5",
88
"hhvm/hsl": "^1.0.0|^3.26.0"
99
},
@@ -36,6 +36,6 @@
3636
"91carriage/phpunit-hhi": "^5.6",
3737
"hhvm/type-assert": "^3.1",
3838
"facebook/fbexpect": "^0.4.0|^1.0.0",
39-
"hhvm/hhast": "^0.4.0|^1.0.0"
39+
"hhvm/hhast": "^3.26.0"
4040
}
4141
}

0 commit comments

Comments
 (0)