diff --git a/oni-php/snippets/php-mode/test-comment b/oni-php/snippets/php-mode/test-comment new file mode 100644 index 0000000..7333715 --- /dev/null +++ b/oni-php/snippets/php-mode/test-comment @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: test-comment +# key: test +# -- +/** @test */ +public function $1(): void +{ + $0 +} diff --git a/oni-php/snippets/php-mode/test-name b/oni-php/snippets/php-mode/test-name new file mode 100644 index 0000000..2b9d72b --- /dev/null +++ b/oni-php/snippets/php-mode/test-name @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: test-name +# key: test +# -- +public function test_$1(): void +{ + $0 +}