From ee1d1b1d7ae0761b008a541a727258508dde847f Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 4 Apr 2023 09:14:49 +0200 Subject: feat(php) fix phpstan for symfony, add new snippet --- lua/alpha/snips/ft/php.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua/alpha/snips/ft/php.lua') diff --git a/lua/alpha/snips/ft/php.lua b/lua/alpha/snips/ft/php.lua index b930cb6..72936d8 100644 --- a/lua/alpha/snips/ft/php.lua +++ b/lua/alpha/snips/ft/php.lua @@ -94,6 +94,14 @@ M.op = fmt( } ) +M.iop = fmt( + [[$this->{} = $this->prophesize({}::class);]], + { + i(1, ""), + i(2, ""), + } +) + M.arg = fmt([[{} ${}]], { i(1, "Type"), d(2, var_name, { 1 }), -- cgit v1.2.3