Skip to content

Instantly share code, notes, and snippets.

@swashata
Created May 9, 2021 08:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swashata/1caf76918876ff7b18a5782ce038bfe8 to your computer and use it in GitHub Desktop.
Save swashata/1caf76918876ff7b18a5782ce038bfe8 to your computer and use it in GitHub Desktop.
VSCode Snippet PHPUNIT
{
"testDox": {
"prefix": "__t",
"body": [
"/**",
" * @testdox ${1:what it does}",
" *",
" * @return void",
" */",
"public function test${2:${TM_FILENAME_BASE/(.*)Test$/$1/}}${1/(.*)/${1:/pascalcase}/}() {",
"\t$0",
"}"
],
"description": "Insert @testdox"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment