summaryrefslogtreecommitdiffstats
path: root/.vim/UltiSnips/php.snippets
blob: 86c4ee1f13245406926dd7d6ae90b19ebf0fc8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
snippet copy "Copyright notice" b
<?php
/*
 * Copyright `date +%Y` Florian "Bluewind" Pritz <bluewind@server-speed.net>
 *
 * Licensed under AGPLv3
 * (see COPYING for full license text)
 *
 */

endsnippet

snippet testclass "Test class for filebin" b
<?php
/*
 * Copyright `date +%Y` Florian "Bluewind" Pritz <bluewind@server-speed.net>
 *
 * Licensed under AGPLv3
 * (see COPYING for full license text)
 *
 */

namespace test\tests;

class `!p
snip.rv = re.match(r'.*(?=\.)', fn).group()
` extends \test\Test {

	public function __construct()
	{
		parent::__construct();
	}

	public function init()
	{
	}

	public function cleanup()
	{
	}

	$0

}

endsnippet