Skip to content

Commit f02491f

Browse files
committed
Add PhpStorm meta file for code completion
1 parent f666604 commit f02491f

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

.phpstorm.meta.php

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<?php
2+
/*
3+
* This file is part of Aplus Framework Image Library.
4+
*
5+
* (c) Natan Felles <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
namespace PHPSTORM_META;
11+
12+
registerArgumentsSet(
13+
'flip_directions',
14+
'b',
15+
'both',
16+
'h',
17+
'horizontal',
18+
'v',
19+
'vertical',
20+
);
21+
registerArgumentsSet(
22+
'filter_types',
23+
\IMG_FILTER_NEGATE,
24+
\IMG_FILTER_GRAYSCALE,
25+
\IMG_FILTER_BRIGHTNESS,
26+
\IMG_FILTER_CONTRAST,
27+
\IMG_FILTER_COLORIZE,
28+
\IMG_FILTER_EDGEDETECT,
29+
\IMG_FILTER_EMBOSS,
30+
\IMG_FILTER_GAUSSIAN_BLUR,
31+
\IMG_FILTER_SELECTIVE_BLUR,
32+
\IMG_FILTER_MEAN_REMOVAL,
33+
\IMG_FILTER_SMOOTH,
34+
\IMG_FILTER_PIXELATE,
35+
\IMG_FILTER_SCATTER,
36+
);
37+
registerArgumentsSet(
38+
'filter_arg1',
39+
\IMG_FILTER_BRIGHTNESS,
40+
\IMG_FILTER_CONTRAST,
41+
\IMG_FILTER_COLORIZE,
42+
\IMG_FILTER_SMOOTH,
43+
\IMG_FILTER_PIXELATE,
44+
\IMG_FILTER_SCATTER,
45+
);
46+
registerArgumentsSet(
47+
'filter_arg2',
48+
\IMG_FILTER_COLORIZE,
49+
\IMG_FILTER_PIXELATE,
50+
\IMG_FILTER_SCATTER,
51+
);
52+
registerArgumentsSet(
53+
'filter_arg3',
54+
\IMG_FILTER_COLORIZE,
55+
\IMG_FILTER_SCATTER,
56+
);
57+
registerArgumentsSet(
58+
'filter_arg4',
59+
\IMG_FILTER_COLORIZE,
60+
);
61+
expectedArguments(
62+
\Framework\Image\Image::flip(),
63+
0,
64+
argumentsSet('flip_directions')
65+
);
66+
expectedArguments(
67+
\Framework\Image\Image::filter(),
68+
0,
69+
argumentsSet('filter_types')
70+
);
71+
expectedArguments(
72+
\Framework\Image\Image::filter(),
73+
1,
74+
argumentsSet('filter_arg1')
75+
);
76+
expectedArguments(
77+
\Framework\Image\Image::filter(),
78+
2,
79+
argumentsSet('filter_arg2')
80+
);
81+
expectedArguments(
82+
\Framework\Image\Image::filter(),
83+
3,
84+
argumentsSet('filter_arg3')
85+
);
86+
expectedArguments(
87+
\Framework\Image\Image::filter(),
88+
4,
89+
argumentsSet('filter_arg4')
90+
);

0 commit comments

Comments
 (0)