1
0
Fork 0

Add PHP snippets for writing tests

This commit is contained in:
Tom Willemsen 2024-12-24 09:39:09 -08:00
parent ba8d543050
commit 8fa46c3639
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: test-comment
# key: test
# --
/** @test */
public function $1(): void
{
$0
}

View file

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: test-name
# key: test
# --
public function test_$1(): void
{
$0
}