diff --git a/composer.json b/composer.json index cf76194..3ab1fd6 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require": { "hhvm": "^4.25", "hhvm/hsl": "^4.25", - "hhvm/hsl-experimental": "^4.37" + "hhvm/hsl-experimental": "^4.50" }, "require-dev": { "facebook/fbexpect": "^2.7", diff --git a/src/Nuxed/Filesystem/File.hack b/src/Nuxed/Filesystem/File.hack index 3c7bc2c..99fe843 100644 --- a/src/Nuxed/Filesystem/File.hack +++ b/src/Nuxed/Filesystem/File.hack @@ -1,7 +1,6 @@ namespace Nuxed\Filesystem; -use namespace HH\Lib\Str; -use namespace HH\Lib\Experimental\File; +use namespace HH\Lib\{File, Str}; final class File extends Node { public function getReadHandle(): File\CloseableReadHandle { diff --git a/tests/Nuxed/Filesystem/FileTest.hack b/tests/Nuxed/Filesystem/FileTest.hack index 9ebc384..ad1c9c6 100644 --- a/tests/Nuxed/Filesystem/FileTest.hack +++ b/tests/Nuxed/Filesystem/FileTest.hack @@ -4,7 +4,7 @@ use namespace HH\Asio; use namespace Nuxed\Crypto\Hex; use namespace Nuxed\Filesystem; use namespace HH\Lib\Str; -use namespace HH\Lib\Experimental\File; +use namespace HH\Lib\File; use namespace Facebook\HackTest; use function Facebook\FBExpect\expect;