-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.phpstorm.meta.php
More file actions
85 lines (84 loc) · 1.43 KB
/
.phpstorm.meta.php
File metadata and controls
85 lines (84 loc) · 1.43 KB
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
<?php
/*
* This file is part of Aplus Framework Validation Library.
*
* (c) Natan Felles <natanfelles@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPSTORM_META;
registerArgumentsSet(
'rules',
'alpha',
'alphaNumber',
'array',
'base64',
'between',
'blank',
'bool',
'datetime',
'dim',
'email',
'empty',
'equals',
'ext',
'float',
'greater',
'greaterOrEqual',
'hex',
'hexColor',
'image',
'in',
'int',
'ip',
'isset',
'json',
'latin',
'length',
'less',
'lessOrEqual',
'maxDim',
'maxLength',
'maxSize',
'md5',
'mimes',
'minDim',
'minLength',
'notBetween',
'notEquals',
'notIn',
'notRegex',
'null',
'number',
'object',
'optional',
'regex',
'required',
'specialChar',
'string',
'timezone',
'uploaded',
'url',
'uuid',
);
expectedArguments(
\Framework\Validation\Validation::getMessage(),
1,
argumentsSet('rules')
);
expectedArguments(
\Framework\Validation\Validation::isRuleAvailable(),
0,
argumentsSet('rules')
);
expectedArguments(
\Framework\Validation\Validation::setMessage(),
1,
argumentsSet('rules')
);
expectedArguments(
\Framework\Validation\Validation::setRule(),
1,
argumentsSet('rules')
);