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

Commit

Permalink
remove support for &$references
Browse files Browse the repository at this point in the history
&$references were removed from the Hack language in HHVM 4.29
  • Loading branch information
jjergus committed Oct 29, 2019
1 parent 16362a9 commit 7aec065
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: required
language: generic
services: docker
env:
- HHVM_VERSION=4.21-latest
- HHVM_VERSION=4.29-latest
- HHVM_VERSION=latest
- HHVM_VERSION=nightly
install:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"bin": [ "bin/hh-apidoc", "bin/hh-apidoc.hack" ],
"license": "MIT",
"require": {
"hhvm": "^4.14",
"hhvm": "^4.29",
"hhvm/hsl": "^4.0",
"facebook/fbmarkdown": "^1.0",
"facebook/hh-clilib": "^2.1.0",
"facebook/definition-finder": "^2.12.3",
"facebook/definition-finder": "^2.13.0",
"hhvm/hhast": "^4.14"
},
"require-dev": {
Expand Down
3 changes: 0 additions & 3 deletions src/PageSections/_Private/stringify_parameter.hack
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ function stringify_parameter(
if ($parameter->isVariadic()) {
$s .= '...';
}
if ($parameter->isPassedByReference()) {
$s .= '&';
}
$s .= '$'.$parameter->getName();

if ($parameter->isOptional()) {
Expand Down

0 comments on commit 7aec065

Please sign in to comment.