Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit b07d00bd9949f078d60238e47d3be0360a7ecfa7 1 parent b231b5f
Donovan Tengblad purplefish32 authored

Showing 1 changed file with 9 additions and 8 deletions. Show diff stats Hide diff stats

  1. +9 8 php-mit.sublime-snippet
17 php-mit.sublime-snippet
@@ -38,13 +38,14 @@
38 38 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
39 39 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40 40 *
41   - * @package ${2:[ Package ]}
42   - * @subpackage ${3:[ Subpackage ]}
43   - * @author ${4:[ Your name ]} <${5:[ Your email address ]}>
44   - * @copyright 2012 ${1:[ Copyright holder ]}.
45   - * @license http://www.opensource.org/licenses/mit-license.php MIT License
46   - * @link http://${6:[ Your website ]}
47   - * @version @@PACKAGE_VERSION@@
  41 + * @category ${3:[ Category ]}
  42 + * @package ${4:[ Package ]}
  43 + * @subpackage ${5:[ Subpackage ]}
  44 + * @author ${1:[ Your name ]} <${2:[ [Your email ]}>
  45 + * @copyright 2012 ${1:[ Your name ]}.
  46 + * @license http://www.opensource.org/licenses/mit-license.php MIT License
  47 + * @version ${6:[ Version ]}
  48 + * @link http://${7:[ Your website ]}
48 49 */
49 50 ]]></content>
50 51 <!-- Optional: Tab trigger to activate the snippet -->
@@ -53,4 +54,4 @@
53 54 <scope>source.php</scope>
54 55 <!-- Optional: Description to show in the menu -->
55 56 <description>Insert the MIT license DocBlock</description>
56   -</snippet>
  57 +</snippet>

0 comments on commit b07d00b

Please sign in to comment.
Something went wrong with that request. Please try again.