Skip to content

Commit d9608f1

Browse files
committed
Add code completion for input vars
1 parent 88626ac commit d9608f1

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.phpstorm.meta.php

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,55 @@
2828
\Framework\Debug\ExceptionHandler::getEnvironment(),
2929
argumentsSet('eh_env')
3030
);
31+
registerArgumentsSet(
32+
'input_vars',
33+
'$_COOKIE',
34+
'$_ENV',
35+
'$_FILES',
36+
'$_GET',
37+
'$_POST',
38+
'$_SERVER',
39+
);
40+
expectedArguments(
41+
\Framework\Debug\ExceptionHandler::validateInputName(),
42+
0,
43+
argumentsSet('input_vars')
44+
);
45+
expectedArguments(
46+
\Framework\Debug\ExceptionHandler::isHiddenInput(),
47+
0,
48+
argumentsSet('input_vars')
49+
);
50+
expectedArguments(
51+
\Framework\Debug\ExceptionHandler::setHiddenInputs(),
52+
0,
53+
argumentsSet('input_vars')
54+
);
55+
expectedArguments(
56+
\Framework\Debug\ExceptionHandler::setHiddenInputs(),
57+
1,
58+
argumentsSet('input_vars')
59+
);
60+
expectedArguments(
61+
\Framework\Debug\ExceptionHandler::addHiddenInputs(),
62+
0,
63+
argumentsSet('input_vars')
64+
);
65+
expectedArguments(
66+
\Framework\Debug\ExceptionHandler::addHiddenInputs(),
67+
1,
68+
argumentsSet('input_vars')
69+
);
70+
expectedArguments(
71+
\Framework\Debug\ExceptionHandler::removeHiddenInputs(),
72+
0,
73+
argumentsSet('input_vars')
74+
);
75+
expectedArguments(
76+
\Framework\Debug\ExceptionHandler::removeHiddenInputs(),
77+
1,
78+
argumentsSet('input_vars')
79+
);
3180
registerArgumentsSet(
3281
'search_engines',
3382
'ask',

0 commit comments

Comments
 (0)