summaryrefslogtreecommitdiff
path: root/test/hack_files/testfile.php
diff options
context:
space:
mode:
authorFred Emmott <fe@fb.com>2018-07-27 13:50:59 -0700
committerFred Emmott <fe@fb.com>2018-08-02 11:28:56 -0700
commit238201805dd23ea422a107b3170de7892335137b (patch)
treee214989c1a7dd048a0d162dc27d70a92479a62db /test/hack_files/testfile.php
parent5f024eda093dcce62159a6f262ffb084ccce4e51 (diff)
downloadale-238201805dd23ea422a107b3170de7892335137b.zip
Split Hack out from PHP, modernize
fixes #1738 - Replace previous `hh_client` usage with LSP client - Add `HHAST` linter - Split Hack from PHP: Hack is increasingly diverging from PHP: - Hack tools do not understand PHP - Most PHP tools do not handle Hack code well (including vim's syntax highightling files) - http://github.com/hhvm/vim-hack now sets filetype to `hack`
Diffstat (limited to 'test/hack_files/testfile.php')
-rw-r--r--test/hack_files/testfile.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/hack_files/testfile.php b/test/hack_files/testfile.php
index e69de29b..313995d1 100644
--- a/test/hack_files/testfile.php
+++ b/test/hack_files/testfile.php
@@ -0,0 +1,4 @@
+<?hh // strict
+
+async function foo(): Awaitable<void> {
+}