summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-05-01 17:42:15 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-05-01 17:55:59 +0200
commit6e86cd0f381de60f77845ea4a7b6cbcc5fda4a47 (patch)
treec43602f91600edaf156d5b891aae434075bb14c3 /tests
parent379131508a321abb88ccc14f5fc99d6a3e82f3f5 (diff)
downloadste-6e86cd0f381de60f77845ea4a7b6cbcc5fda4a47.tar.gz
ste-6e86cd0f381de60f77845ea4a7b6cbcc5fda4a47.tar.bz2
ste-6e86cd0f381de60f77845ea4a7b6cbcc5fda4a47.zip
Add STECore typehint in generated test code
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mktest.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/mktest.sh b/tests/mktest.sh
index f249a7f..126aebc 100755
--- a/tests/mktest.sh
+++ b/tests/mktest.sh
@@ -6,8 +6,11 @@ touch "$1/want"
echo '<?php
-function test_func($ste) {
-
+use kch42\ste\STECore;
+
+function test_func(STECore $ste)
+{
+
}' > "$1/code.php"
echo 'have