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

Commit 7aec065

Browse files
committed
remove support for &$references
&$references were removed from the Hack language in HHVM 4.29
1 parent 16362a9 commit 7aec065

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sudo: required
22
language: generic
33
services: docker
44
env:
5-
- HHVM_VERSION=4.21-latest
5+
- HHVM_VERSION=4.29-latest
66
- HHVM_VERSION=latest
77
- HHVM_VERSION=nightly
88
install:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"bin": [ "bin/hh-apidoc", "bin/hh-apidoc.hack" ],
44
"license": "MIT",
55
"require": {
6-
"hhvm": "^4.14",
6+
"hhvm": "^4.29",
77
"hhvm/hsl": "^4.0",
88
"facebook/fbmarkdown": "^1.0",
99
"facebook/hh-clilib": "^2.1.0",
10-
"facebook/definition-finder": "^2.12.3",
10+
"facebook/definition-finder": "^2.13.0",
1111
"hhvm/hhast": "^4.14"
1212
},
1313
"require-dev": {

src/PageSections/_Private/stringify_parameter.hack

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ function stringify_parameter(
3535
if ($parameter->isVariadic()) {
3636
$s .= '...';
3737
}
38-
if ($parameter->isPassedByReference()) {
39-
$s .= '&';
40-
}
4138
$s .= '$'.$parameter->getName();
4239

4340
if ($parameter->isOptional()) {

0 commit comments

Comments
 (0)