Commit Graph

7 Commits

Author SHA1 Message Date
rrooij cdd424df88 php-mode: fix case in getters and setters (#271)
Fix the case of the getter and setter templates. The previous
method "capitalize" turned upper case characters to lower case
elsewhere in the string.
2018-04-21 09:57:50 +01:00
rrooij d60f079c93 php-mode: fix missing dollar sign in set snippet (#266)
The dollar sign was missing which caused a badly generated setter
method.
2018-04-18 13:32:45 +01:00
rrooij 4bbe565b7c php-mode: add getter and setter snippets (#265) 2018-04-08 12:46:31 +01:00
Thomas Atkinson ebe3b513df Php doc changes (#232)
* Change type indent width for phpdoc param tags

phpcs expects one space between @param tag and type
identifier. Checking
http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.pkg.html
there is only meant to be one space included.

* Remove * at end of phpdoc return tag

The return tag should be the last tag in the phpdoc block and should
not add a extra line for a extra tag.
2017-10-31 09:48:31 +00:00
Andrea Crotti bcbdc760f8
fixes #223 2017-09-26 18:24:39 +01:00
USAMI Kenta 1cb40233f8 Add snippets for php-mode (#205)
* Add snippets for php-mode

* Fix typo
2017-09-20 19:05:01 +01:00
USAMI Kenta 98a784a7ed Add PHP basic syntax (statement) for php-mode (#202)
* Add PHP basic syntax (statement) for php-mode

* Add php-mode/.yas-setup.el

* Replace to function (yas-php-get-class-name-by-file-name)
2017-08-21 11:01:54 +01:00