Created
May 9, 2021 08:46
-
-
Save swashata/1caf76918876ff7b18a5782ce038bfe8 to your computer and use it in GitHub Desktop.
VSCode Snippet PHPUNIT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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