Commit Graph

29 Commits

Author SHA1 Message Date
Marcelo Jacobus
29903a019e Fixed non-documentary placeholders 2015-03-02 16:30:48 +01:00
Marcelo Jacobus
6c9ec92eec Fixed some PHP Code Standards 2015-02-24 17:23:50 +01:00
Julien Deniau
01a85b1d63 remove blank lines 2015-02-12 11:10:28 +01:00
Julien Deniau
051bc1a91c Fix copy/paste bug 2015-02-12 11:07:46 +01:00
Julien Deniau
23ee37a49c Update PHP class and interface snippets
Include <?php and namespace automatically
2015-02-03 10:49:07 +01:00
Julien Deniau
5b86f089dc Update PHP getter setter
Add return / parameter types
Set @param and @return
2015-01-30 15:25:14 +01:00
Holger Rapp
a811b756d0 Merge pull request #456 from BlackIkeEagle/php-docblock-methods
Php: docblock methods
2014-09-29 20:22:59 +02:00
BlackEagle
dca6268c24 php add interface snippet similar to class snippet
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:51:44 +02:00
BlackEagle
41f9d7dc5a php extend class snippet so you can easily add abstract or final
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:50:51 +02:00
BlackEagle
6e0180c5fc add inheritdoc docblock snippet
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:19:26 +02:00
BlackEagle
faec22c56d add simple docblocks for class methods
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-23 09:18:53 +02:00
Holger Rapp
6db93bcabf Merge pull request #446 from BlackIkeEagle/php-typo
php: fix do{} while snippet typo, does not end on"
2014-09-11 06:27:48 -07:00
BlackEagle
9665df2022 php :: add elseif
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-11 14:06:36 +02:00
BlackEagle
ace1d94dd8 php :: fix do{}while snippet typo, does not end on"
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-09-11 13:58:01 +02:00
Mario de Frutos
5d012dba29 More adecuate naming 2014-08-14 13:26:54 +02:00
Mario de Frutos
4e13b696d6 Avoid collision with print_r snippet 2014-08-14 10:28:31 +02:00
Cézar Antáres
91a31b1fba PHP Class snippet was working wrong 2014-07-06 22:22:35 -05:00
Jorge López Pérez
db3b240783 Fix PHP getter and setter UltiSnips snippet
Was broken due to complex regular expressions applied to $1,
which made UltiSnips to complain about not knowing it.

Simplified the snippet using the already working getter and setter snippets.
2014-03-19 14:43:08 +01:00
Holger Rapp
59dcc2b72d Brings current UltiSnips snippets into the repository. 2014-03-04 09:17:27 +01:00
yuhuanbo
fe4c59fa2d [php] [symfony] some bugfix and improve
symfony snippet `ent` now support abstract class
2013-09-25 21:15:35 +08:00
yuhuanbo
2a0cd591e7 add symfony2 form snip 2013-09-08 14:56:16 +08:00
yuhuanbo
702844eb2b add phpunit snippets 2013-08-26 21:16:33 +08:00
yuhuanbo
1eb75e363e nc support trait 2013-08-21 11:29:40 +08:00
yuhuanbo
786f9a66fa snip nc auto detect Abstract and Interface 2013-08-19 12:00:07 +08:00
yuhuanbo
0805491b05 add symfony2 snippets 2013-08-02 22:12:34 +08:00
yuhuanbo
04a98ad387 hotfix: move cursor in var_dump call, correct the case of class name 2013-08-01 22:42:37 +08:00
yuhuanbo
fdf1e6e174 remove old php snippet which Ultisnip already include, add something new 2013-07-31 21:56:59 +08:00
Marc Weber
344ac6ea2c new policies for if, eif, el
What about wh(ile)?
drop some placeholder comments which don't add (enough) value to keep
for patterns used very often.
2013-06-23 02:30:26 +02:00
Marc Weber
d07009f27f Adding UltiSnips snippets, updating Readme
UltiSnips snippets are taken from UltiSnips repo.
Putting them nearby the engine seems to be the wrong thing to do.
One reason is that there are two forks now.
2013-03-17 20:13:47 +01:00