branch: elpa/yasnippet-snippets
commit a1877cb930a11f05d7897cf4b3a20c896fcd0dc0
Author: USAMI Kenta <tad...@zonu.me>
Commit: GitHub <nore...@github.com>

    Add declare(strict_types=1); to PHP instead of ticks (#496)
---
 snippets/php-mode/strict-types | 7 +++++++
 snippets/php-mode/ticks        | 7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/snippets/php-mode/strict-types b/snippets/php-mode/strict-types
new file mode 100644
index 0000000000..69d64e2d82
--- /dev/null
+++ b/snippets/php-mode/strict-types
@@ -0,0 +1,7 @@
+-# -*- mode: snippet -*-
+-# contributor: USAMI Kenta <tad...@zonu.me>
+-# name: declare(strict_types=1)
+-# key: strict_types
+-# group: definitions
+-# --
+declare(strict_types=1);
diff --git a/snippets/php-mode/ticks b/snippets/php-mode/ticks
deleted file mode 100644
index c0a68c9950..0000000000
--- a/snippets/php-mode/ticks
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- mode: snippet -*-
-# contributor: USAMI Kenta <tad...@zonu.me>
-# name: declare(ticks=)
-# key: ticks
-# group: definitions
-# --
-declare(ticks=${1:1});
\ No newline at end of file

Reply via email to