Checks the declaration of the class is correct.
declared in
PHP_CodeSniffer\Standards\PEAR\Sniffs\Classes\ClassDeclarationSniff
#!/bin/bash | |
# This script | |
# - creates a user (named below) | |
# - sets up a union (aufs) filesystem on top of the users immutable home | |
# - creates a cleanup script (/usr/local/bin/cleanup.sh) that empties the aufs | |
# layer on login/logout/boot | |
# - replaces the lightdm config | |
# - replaces rc.local to run the script | |
# |
#!/bin/sh | |
while ! ping -c 1 -W 1 8.8.8.8; do | |
sleep 1 | |
done | |
curl -X POST https://maker.ifttt.com/trigger/pump/with/key/hfjrufjehgfhjgefgegf |
// dm Windel Widget | |
// Basiert auf | |
// dm Klopapier Widget | |
// https://gist.github.com/marco79cgn/23ce08fd8711ee893a3be12d4543f2d2 | |
// | |
// Copyright (C) 2020 by marco79 <marco79cgn@gmail.com> | |
// | |
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. | |
// | |
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL |
# Create a file called PHPUnitTestMethodPlugin.py in Plugins/ within your Sublime Text Packages folder | |
# You can run this via Sublime's console with: view.run_command("php_unit_test_method") | |
# You can bind it to ctrl+e as a regular command | |
import sublime | |
import re | |
import sublime_plugin | |
class PhpUnitTestMethodCommand(sublime_plugin.TextCommand): | |
def run(self, edit, lines = 10): |
<snippet> | |
<content><![CDATA[ | |
<?php | |
class ${TM_FILENAME/(.+)\..+|.*/$1/:name} | |
{ | |
${0} | |
} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> |