Permalink
Browse files

change the brace position in the function snippet like PSR2 definition

  • Loading branch information...
1 parent 99e4d23 commit 90f5c578bb562f7bd8395b6e99b32b6dc4c98837 @mgallego mgallego committed Sep 16, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 php-mode/funct
  2. +2 −1 php-mode/function
View
@@ -1,6 +1,7 @@
#contributor : Andrew Gwozdziewycz <web@apgwoz.com>
#name : funct ...(...)
# --
-function ${function_name}(${function_args}) {
+function ${function_name}(${function_args})
+{
$0
}
View
@@ -1,6 +1,7 @@
#contributor : Andrew Gwozdziewycz <web@apgwoz.com>
#name : function ...(...)
# --
-function ${function_name}(${function_args}) {
+function ${function_name}(${function_args})
+{
$0
}

0 comments on commit 90f5c57

Please sign in to comment.