-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.phpstorm.meta.php
90 lines (89 loc) · 1.83 KB
/
.phpstorm.meta.php
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
<?php
/*
* This file is part of Aplus Framework Image Library.
*
* (c) Natan Felles <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPSTORM_META;
registerArgumentsSet(
'flip_directions',
'b',
'both',
'h',
'horizontal',
'v',
'vertical',
);
registerArgumentsSet(
'filter_types',
\IMG_FILTER_NEGATE,
\IMG_FILTER_GRAYSCALE,
\IMG_FILTER_BRIGHTNESS,
\IMG_FILTER_CONTRAST,
\IMG_FILTER_COLORIZE,
\IMG_FILTER_EDGEDETECT,
\IMG_FILTER_EMBOSS,
\IMG_FILTER_GAUSSIAN_BLUR,
\IMG_FILTER_SELECTIVE_BLUR,
\IMG_FILTER_MEAN_REMOVAL,
\IMG_FILTER_SMOOTH,
\IMG_FILTER_PIXELATE,
\IMG_FILTER_SCATTER,
);
registerArgumentsSet(
'filter_arg1',
\IMG_FILTER_BRIGHTNESS,
\IMG_FILTER_CONTRAST,
\IMG_FILTER_COLORIZE,
\IMG_FILTER_SMOOTH,
\IMG_FILTER_PIXELATE,
\IMG_FILTER_SCATTER,
);
registerArgumentsSet(
'filter_arg2',
\IMG_FILTER_COLORIZE,
\IMG_FILTER_PIXELATE,
\IMG_FILTER_SCATTER,
);
registerArgumentsSet(
'filter_arg3',
\IMG_FILTER_COLORIZE,
\IMG_FILTER_SCATTER,
);
registerArgumentsSet(
'filter_arg4',
\IMG_FILTER_COLORIZE,
);
expectedArguments(
\Framework\Image\Image::flip(),
0,
argumentsSet('flip_directions')
);
expectedArguments(
\Framework\Image\Image::filter(),
0,
argumentsSet('filter_types')
);
expectedArguments(
\Framework\Image\Image::filter(),
1,
argumentsSet('filter_arg1')
);
expectedArguments(
\Framework\Image\Image::filter(),
2,
argumentsSet('filter_arg2')
);
expectedArguments(
\Framework\Image\Image::filter(),
3,
argumentsSet('filter_arg3')
);
expectedArguments(
\Framework\Image\Image::filter(),
4,
argumentsSet('filter_arg4')
);