-
Notifications
You must be signed in to change notification settings - Fork 5
/
PHP.xml
268 lines (267 loc) · 14.3 KB
/
PHP.xml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="PHP">
<template name="sdbg" value="Zend_Debug::dump($SELECTION$)$END$" description="Debug with Zend_Debug" toReformat="true" toShortenFQNames="true">
<variable name="SELECTION" expression="" defaultValue="" alwaysStopAt="false" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="fe" value="foreach ($$$iterable$ as $$$variable$) { /** @var $$$variable$ $variable_class$ */ $END$ } " description="Foreach cycle without keys" toReformat="true" toShortenFQNames="true">
<variable name="iterable" expression="complete()" defaultValue="" alwaysStopAt="true" />
<variable name="variable" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="variable_class" expression=""class_name"" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="fek" value="foreach ($$$iterable$ as $$$key_name$ => $$$variable$) { /** @var $$$variable$ $variable_class$ */ $END$ }" description="Foreach cycle with keys" toReformat="true" toShortenFQNames="true">
<variable name="iterable" expression="complete()" defaultValue="" alwaysStopAt="true" />
<variable name="key_name" expression=""key"" defaultValue="" alwaysStopAt="true" />
<variable name="variable" expression=""value"" defaultValue="" alwaysStopAt="true" />
<variable name="variable_class" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="dbg" value="Zend_Debug::dump($expression$);$END$" description="Debug with Zend_Debug" toReformat="true" toShortenFQNames="true">
<variable name="expression" expression="complete()" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="if" value="if ($condition$) { $END$ } " description="Simple if" toReformat="true" toShortenFQNames="true">
<variable name="condition" expression=""expression"" defaultValue=""condition"" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="ife" value="if ($condition$) { $END$ } else { } " description="Simple if/else" toReformat="true" toShortenFQNames="true">
<variable name="condition" expression=""expression"" defaultValue=""condition"" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="swt" value="switch ($expression$) { case $value1$: $END$ break; default: } " description="Switch/case/default" toReformat="true" toShortenFQNames="true">
<variable name="expression" expression="" defaultValue=""expression"" alwaysStopAt="true" />
<variable name="value1" expression="" defaultValue=""value1"" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="qts" value="'$SELECTION$'$END$" description="Single quotes" toReformat="true" toShortenFQNames="true">
<variable name="SELECTION" expression="" defaultValue="" alwaysStopAt="false" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="dqts" value=""$SELECTION$"$END$" description="Double quotes" toReformat="true" toShortenFQNames="true">
<variable name="SELECTION" expression="" defaultValue="" alwaysStopAt="false" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="put" value="/** * Test for $method$ */ public function test$UCFmethod$() { $END$ } " description="PHPUnit test skeleton" toReformat="true" toShortenFQNames="true">
<variable name="method" expression="" defaultValue=""what are you testing"" alwaysStopAt="true" />
<variable name="UCFmethod" expression="capitalize(method)" defaultValue="" alwaysStopAt="false" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="pusu" value="/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * */ protected function setUp() { parent::setUp(); $END$ } " description="PHPUnit setUp" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="putd" value="/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. */ protected function tearDown() { $END$ parent::tearDown(); } " description="PHPUnit tearDown" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="putdc" value="/** * This method is called after the last test of this test class is run. * * @since Method available since Release 3.4.0 */ public static function tearDownAfterClass() { $END$ } " description="PHPUnit tearDownAfterClass" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="pusuc" value="/** * This method is called before the first test of this test class is run. * * @since Method available since Release 3.4.0 */ public static function setUpBeforeClass() { $END$ } " description="PHPUnit setUpBeforeClass" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="putdp" value="/** * Test for $method$ * * @dataProvider $dataProvider$ * * @param type $arg1$ */ public function test$UCFmethod$($arg1$) { $END$ } " description="PHPUnit test skeleton with data provider" toReformat="true" toShortenFQNames="true">
<variable name="method" expression="" defaultValue=""what are you testing"" alwaysStopAt="true" />
<variable name="dataProvider" expression="" defaultValue=""data provider function"" alwaysStopAt="true" />
<variable name="UCFmethod" expression="capitalize(method)" defaultValue="" alwaysStopAt="false" />
<variable name="arg1" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="putex" value="/** * Test for $method$ * * @expectedException $exception$ */ public function test$UCFmethod$() { $END$ } " description="PHPUnit test skeleton with expected exception" toReformat="true" toShortenFQNames="true">
<variable name="method" expression="" defaultValue=""what are you testing"" alwaysStopAt="true" />
<variable name="exception" expression="" defaultValue=""expected exception class"" alwaysStopAt="true" />
<variable name="UCFmethod" expression="capitalize(method)" defaultValue="" alwaysStopAt="false" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="false" />
<option name="JSP" value="false" />
<option name="SQL" value="false" />
<option name="PHP" value="true" />
<option name="HAML" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
</templateSet>