Permalink
Browse files

Fixed php-mit.sublime-snippet

Details:

Fixed the following to comply with php_CS code sniffer

Fixed tab autocomplete/order
Fixed double spaces to single spaces
Added required @category
Changed order of @version and @link
  • Loading branch information...
1 parent b231b5f commit b07d00bd9949f078d60238e47d3be0360a7ecfa7 @purplefish32 purplefish32 committed Sep 26, 2012
Showing with 9 additions and 8 deletions.
  1. +9 −8 php-mit.sublime-snippet
@@ -38,13 +38,14 @@
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
- * @package ${2:[ Package ]}
- * @subpackage ${3:[ Subpackage ]}
- * @author ${4:[ Your name ]} <${5:[ Your email address ]}>
- * @copyright 2012 ${1:[ Copyright holder ]}.
- * @license http://www.opensource.org/licenses/mit-license.php MIT License
- * @link http://${6:[ Your website ]}
- * @version @@PACKAGE_VERSION@@
+ * @category ${3:[ Category ]}
+ * @package ${4:[ Package ]}
+ * @subpackage ${5:[ Subpackage ]}
+ * @author ${1:[ Your name ]} <${2:[ [Your email ]}>
+ * @copyright 2012 ${1:[ Your name ]}.
+ * @license http://www.opensource.org/licenses/mit-license.php MIT License
+ * @version ${6:[ Version ]}
+ * @link http://${7:[ Your website ]}
*/
]]></content>
<!-- Optional: Tab trigger to activate the snippet -->
@@ -53,4 +54,4 @@
<scope>source.php</scope>
<!-- Optional: Description to show in the menu -->
<description>Insert the MIT license DocBlock</description>
-</snippet>
+</snippet>

0 comments on commit b07d00b

Please sign in to comment.