ReviewOS

also looking at this

meemalabs/meema-client-php

Apply fixes from StyleCI

#67
Merged glennmichael123 wants to merge analysis-4xKMkP into image-operations
1 file +88 -88
src/Lambda/Image.phpmodified+88-88
Changes to src/Lambda/Image.php
@@ -36,7 +36,7 @@ class Image
3636 *
3737 * @param int $value
3838 *
39 * @return this
39 * @return $this
4040 */
4141 public function w($value)
4242 {
@@ -50,7 +50,7 @@ class Image
5050 *
5151 * @param int $value
5252 *
53 * @return this
53 * @return $this
5454 */
5555 public function h($value)
5656 {
@@ -64,7 +64,7 @@ class Image
6464 *
6565 * @param int $value
6666 *
67 * @return this
67 * @return $this
6868 */
6969 public function q($value)
7070 {
@@ -78,7 +78,7 @@ class Image
7878 *
7979 * @param int $value
8080 *
81 * @return this
81 * @return $this
8282 */
8383 public function blur($value)
8484 {
@@ -92,7 +92,7 @@ class Image
9292 *
9393 * @param int|string $value
9494 *
95 * @return this
95 * @return $this
9696 */
9797 public function nsfw($value)
9898 {
@@ -106,7 +106,7 @@ class Image
106106 *
107107 * @param int $value
108108 *
109 * @return this
109 * @return $this
110110 */
111111 public function rotate($value)
112112 {
@@ -120,7 +120,7 @@ class Image
120120 *
121121 * @param string $value
122122 *
123 * @return this
123 * @return $this
124124 */
125125 public function bg($value)
126126 {
@@ -134,7 +134,7 @@ class Image
134134 *
135135 * @param int $value
136136 *
137 * @return this
137 * @return $this
138138 */
139139 public function ar($value)
140140 {
@@ -148,7 +148,7 @@ class Image
148148 *
149149 * @param int $value
150150 *
151 * @return this
151 * @return $this
152152 */
153153 public function br($value)
154154 {
@@ -162,7 +162,7 @@ class Image
162162 *
163163 * @param int $value
164164 *
165 * @return this
165 * @return $this
166166 */
167167 public function con($value)
168168 {
@@ -176,7 +176,7 @@ class Image
176176 *
177177 * @param int $value
178178 *
179 * @return this
179 * @return $this
180180 */
181181 public function exp($value)
182182 {
@@ -190,7 +190,7 @@ class Image
190190 *
191191 * @param int $value
192192 *
193 * @return this
193 * @return $this
194194 */
195195 public function gam($value)
196196 {
@@ -204,7 +204,7 @@ class Image
204204 *
205205 * @param int $value
206206 *
207 * @return this
207 * @return $this
208208 */
209209 public function hue($value)
210210 {
@@ -218,7 +218,7 @@ class Image
218218 *
219219 * @param int $value
220220 *
221 * @return this
221 * @return $this
222222 */
223223 public function high($value)
224224 {
@@ -232,7 +232,7 @@ class Image
232232 *
233233 * @param bool $value
234234 *
235 * @return this
235 * @return $this
236236 */
237237 public function invert($value)
238238 {
@@ -246,7 +246,7 @@ class Image
246246 *
247247 * @param int $value
248248 *
249 * @return this
249 * @return $this
250250 */
251251 public function sat($value)
252252 {
@@ -260,7 +260,7 @@ class Image
260260 *
261261 * @param int $value
262262 *
263 * @return this
263 * @return $this
264264 */
265265 public function shad($value)
266266 {
@@ -274,7 +274,7 @@ class Image
274274 *
275275 * @param int $value
276276 *
277 * @return this
277 * @return $this
278278 */
279279 public function sharp($value)
280280 {
@@ -288,7 +288,7 @@ class Image
288288 *
289289 * @param int $value
290290 *
291 * @return this
291 * @return $this
292292 */
293293 public function usm($value)
294294 {
@@ -302,7 +302,7 @@ class Image
302302 *
303303 * @param int $value
304304 *
305 * @return this
305 * @return $this
306306 */
307307 public function usmrad($value)
308308 {
@@ -316,7 +316,7 @@ class Image
316316 *
317317 * @param int $value
318318 *
319 * @return this
319 * @return $this
320320 */
321321 public function vib($value)
322322 {
@@ -330,7 +330,7 @@ class Image
330330 *
331331 * @param string $value
332332 *
333 * @return this
333 * @return $this
334334 */
335335 public function blend($value)
336336 {
@@ -344,7 +344,7 @@ class Image
344344 *
345345 * @param string $value
346346 *
347 * @return this
347 * @return $this
348348 */
349349 public function blendAlign($value)
350350 {
@@ -358,7 +358,7 @@ class Image
358358 *
359359 * @param string $value
360360 *
361 * @return this
361 * @return $this
362362 */
363363 public function blendAlpha($value)
364364 {
@@ -372,7 +372,7 @@ class Image
372372 *
373373 * @param string $value
374374 *
375 * @return this
375 * @return $this
376376 */
377377 public function blendCrop($value)
378378 {
@@ -386,7 +386,7 @@ class Image
386386 *
387387 * @param string $value
388388 *
389 * @return this
389 * @return $this
390390 */
391391 public function blendFit($value)
392392 {
@@ -400,7 +400,7 @@ class Image
400400 *
401401 * @param string $value
402402 *
403 * @return this
403 * @return $this
404404 */
405405 public function blendH($value)
406406 {
@@ -414,7 +414,7 @@ class Image
414414 *
415415 * @param string $value
416416 *
417 * @return this
417 * @return $this
418418 */
419419 public function blendMode($value)
420420 {
@@ -428,7 +428,7 @@ class Image
428428 *
429429 * @param int $value
430430 *
431 * @return this
431 * @return $this
432432 */
433433 public function blendPad($value)
434434 {
@@ -442,7 +442,7 @@ class Image
442442 *
443443 * @param string $value
444444 *
445 * @return this
445 * @return $this
446446 */
447447 public function blendSize($value)
448448 {
@@ -456,7 +456,7 @@ class Image
456456 *
457457 * @param int $value
458458 *
459 * @return this
459 * @return $this
460460 */
461461 public function blendW($value)
462462 {
@@ -470,7 +470,7 @@ class Image
470470 *
471471 * @param int $value
472472 *
473 * @return this
473 * @return $this
474474 */
475475 public function blendX($value)
476476 {
@@ -484,7 +484,7 @@ class Image
484484 *
485485 * @param int $value
486486 *
487 * @return this
487 * @return $this
488488 */
489489 public function blendY($value)
490490 {
@@ -498,7 +498,7 @@ class Image
498498 *
499499 * @param string $value
500500 *
501 * @return this
501 * @return $this
502502 */
503503 public function border($value)
504504 {
@@ -512,7 +512,7 @@ class Image
512512 *
513513 * @param string $value
514514 *
515 * @return this
515 * @return $this
516516 */
517517 public function borderRadiusInner($value)
518518 {
@@ -526,7 +526,7 @@ class Image
526526 *
527527 * @param string $value
528528 *
529 * @return this
529 * @return $this
530530 */
531531 public function borderRadius($value)
532532 {
@@ -540,7 +540,7 @@ class Image
540540 *
541541 * @param string $value
542542 *
543 * @return this
543 * @return $this
544544 */
545545 public function pad($value)
546546 {
@@ -554,7 +554,7 @@ class Image
554554 *
555555 * @param bool $value
556556 *
557 * @return this
557 * @return $this
558558 */
559559 public function greyscale($value)
560560 {
@@ -568,7 +568,7 @@ class Image
568568 *
569569 * @param string $value
570570 *
571 * @return this
571 * @return $this
572572 */
573573 public function trim($value)
574574 {
@@ -582,7 +582,7 @@ class Image
582582 *
583583 * @param int $value
584584 *
585 * @return this
585 * @return $this
586586 */
587587 public function faceindex($value)
588588 {
@@ -596,7 +596,7 @@ class Image
596596 *
597597 * @param int $value
598598 *
599 * @return this
599 * @return $this
600600 */
601601 public function facepad($value)
602602 {
@@ -610,7 +610,7 @@ class Image
610610 *
611611 * @param string $value
612612 *
613 * @return this
613 * @return $this
614614 */
615615 public function fillColor($value)
616616 {
@@ -624,7 +624,7 @@ class Image
624624 *
625625 * @param string $value
626626 *
627 * @return this
627 * @return $this
628628 */
629629 public function fill($value)
630630 {
@@ -638,7 +638,7 @@ class Image
638638 *
639639 * @param string $value
640640 *
641 * @return this
641 * @return $this
642642 */
643643 public function chroma($value)
644644 {
@@ -652,7 +652,7 @@ class Image
652652 *
653653 * @param string $value
654654 *
655 * @return this
655 * @return $this
656656 */
657657 public function ch($value)
658658 {
@@ -666,7 +666,7 @@ class Image
666666 *
667667 * @param int $value
668668 *
669 * @return this
669 * @return $this
670670 */
671671 public function colorquant($value)
672672 {
@@ -680,7 +680,7 @@ class Image
680680 *
681681 * @param string $value
682682 *
683 * @return this
683 * @return $this
684684 */
685685 public function cs($value)
686686 {
@@ -694,7 +694,7 @@ class Image
694694 *
695695 * @param int $value
696696 *
697 * @return this
697 * @return $this
698698 */
699699 public function dpi($value)
700700 {
@@ -708,7 +708,7 @@ class Image
708708 *
709709 * @param bool $value
710710 *
711 * @return this
711 * @return $this
712712 */
713713 public function lossless($value)
714714 {
@@ -722,7 +722,7 @@ class Image
722722 *
723723 * @param bool $value
724724 *
725 * @return this
725 * @return $this
726726 */
727727 public function fm($value)
728728 {
@@ -736,7 +736,7 @@ class Image
736736 *
737737 * @param bool $value
738738 *
739 * @return this
739 * @return $this
740740 */
741741 public function flop($value)
742742 {
@@ -750,7 +750,7 @@ class Image
750750 *
751751 * @param string $value
752752 *
753 * @return this
753 * @return $this
754754 */
755755 public function auto($value)
756756 {
@@ -764,7 +764,7 @@ class Image
764764 *
765765 * @param string $value
766766 *
767 * @return this
767 * @return $this
768768 */
769769 public function expires($value)
770770 {
@@ -778,7 +778,7 @@ class Image
778778 *
779779 * @param string $value
780780 *
781 * @return this
781 * @return $this
782782 */
783783 public function dpr($value)
784784 {
@@ -792,7 +792,7 @@ class Image
792792 *
793793 * @param string $value
794794 *
795 * @return this
795 * @return $this
796796 */
797797 public function cornerRadius($value)
798798 {
@@ -806,7 +806,7 @@ class Image
806806 *
807807 * @param string $value
808808 *
809 * @return this
809 * @return $this
810810 */
811811 public function mask($value)
812812 {
@@ -820,7 +820,7 @@ class Image
820820 *
821821 * @param int $value
822822 *
823 * @return this
823 * @return $this
824824 */
825825 public function nr($value)
826826 {
@@ -834,7 +834,7 @@ class Image
834834 *
835835 * @param int $value
836836 *
837 * @return this
837 * @return $this
838838 */
839839 public function nrs($value)
840840 {
@@ -848,7 +848,7 @@ class Image
848848 *
849849 * @param int $value
850850 *
851 * @return this
851 * @return $this
852852 */
853853 public function extend($value)
854854 {
@@ -862,7 +862,7 @@ class Image
862862 *
863863 * @param string $value
864864 *
865 * @return this
865 * @return $this
866866 */
867867 public function extract($value)
868868 {
@@ -876,7 +876,7 @@ class Image
876876 *
877877 * @param string $value
878878 *
879 * @return this
879 * @return $this
880880 */
881881 public function flip($value)
882882 {
@@ -890,7 +890,7 @@ class Image
890890 *
891891 * @param int $value
892892 *
893 * @return this
893 * @return $this
894894 */
895895 public function orient($value)
896896 {
@@ -904,7 +904,7 @@ class Image
904904 *
905905 * @param string $value
906906 *
907 * @return this
907 * @return $this
908908 */
909909 public function crop($value)
910910 {
@@ -918,7 +918,7 @@ class Image
918918 *
919919 * @param int $value
920920 *
921 * @return this
921 * @return $this
922922 */
923923 public function maxH($value)
924924 {
@@ -932,7 +932,7 @@ class Image
932932 *
933933 * @param int $value
934934 *
935 * @return this
935 * @return $this
936936 */
937937 public function minH($value)
938938 {
@@ -946,7 +946,7 @@ class Image
946946 *
947947 * @param int $value
948948 *
949 * @return this
949 * @return $this
950950 */
951951 public function maxW($value)
952952 {
@@ -960,7 +960,7 @@ class Image
960960 *
961961 * @param int $value
962962 *
963 * @return this
963 * @return $this
964964 */
965965 public function minw($value)
966966 {
@@ -974,7 +974,7 @@ class Image
974974 *
975975 * @param string $value
976976 *
977 * @return this
977 * @return $this
978978 */
979979 public function fit($value)
980980 {
@@ -988,7 +988,7 @@ class Image
988988 *
989989 * @param string $value
990990 *
991 * @return this
991 * @return $this
992992 */
993993 public function rect($value)
994994 {
@@ -1002,7 +1002,7 @@ class Image
10021002 *
10031003 * @param string $value
10041004 *
1005 * @return this
1005 * @return $this
10061006 */
10071007 public function duotone($value)
10081008 {
@@ -1016,7 +1016,7 @@ class Image
10161016 *
10171017 * @param int $value
10181018 *
1019 * @return this
1019 * @return $this
10201020 */
10211021 public function duotoneAlpha($value)
10221022 {
@@ -1030,7 +1030,7 @@ class Image
10301030 *
10311031 * @param int $value
10321032 *
1033 * @return this
1033 * @return $this
10341034 */
10351035 public function halftone($value)
10361036 {
@@ -1044,7 +1044,7 @@ class Image
10441044 *
10451045 * @param string $value
10461046 *
1047 * @return this
1047 * @return $this
10481048 */
10491049 public function monochrome($value)
10501050 {
@@ -1058,7 +1058,7 @@ class Image
10581058 *
10591059 * @param int $value
10601060 *
1061 * @return this
1061 * @return $this
10621062 */
10631063 public function px($value)
10641064 {
@@ -1072,7 +1072,7 @@ class Image
10721072 *
10731073 * @param int $value
10741074 *
1075 * @return this
1075 * @return $this
10761076 */
10771077 public function sepia($value)
10781078 {
@@ -1086,7 +1086,7 @@ class Image
10861086 *
10871087 * @param string $value
10881088 *
1089 * @return this
1089 * @return $this
10901090 */
10911091 public function txtAlign($value)
10921092 {
@@ -1100,7 +1100,7 @@ class Image
11001100 *
11011101 * @param string $value
11021102 *
1103 * @return this
1103 * @return $this
11041104 */
11051105 public function txtClip($value)
11061106 {
@@ -1114,7 +1114,7 @@ class Image
11141114 *
11151115 * @param string $value
11161116 *
1117 * @return this
1117 * @return $this
11181118 */
11191119 public function txtColor($value)
11201120 {
@@ -1128,7 +1128,7 @@ class Image
11281128 *
11291129 * @param string $value
11301130 *
1131 * @return this
1131 * @return $this
11321132 */
11331133 public function txtFit($value)
11341134 {
@@ -1142,7 +1142,7 @@ class Image
11421142 *
11431143 * @param string $value
11441144 *
1145 * @return this
1145 * @return $this
11461146 */
11471147 public function txtFont($value)
11481148 {
@@ -1156,7 +1156,7 @@ class Image
11561156 *
11571157 * @param int $value
11581158 *
1159 * @return this
1159 * @return $this
11601160 */
11611161 public function txtSize($value)
11621162 {
@@ -1170,7 +1170,7 @@ class Image
11701170 *
11711171 * @param int $value
11721172 *
1173 * @return this
1173 * @return $this
11741174 */
11751175 public function txtLig($value)
11761176 {
@@ -1184,7 +1184,7 @@ class Image
11841184 *
11851185 * @param int $value
11861186 *
1187 * @return this
1187 * @return $this
11881188 */
11891189 public function txtLine($value)
11901190 {
@@ -1198,7 +1198,7 @@ class Image
11981198 *
11991199 * @param string $value
12001200 *
1201 * @return this
1201 * @return $this
12021202 */
12031203 public function txtLineColor($value)
12041204 {
@@ -1212,7 +1212,7 @@ class Image
12121212 *
12131213 * @param int $value
12141214 *
1215 * @return this
1215 * @return $this
12161216 */
12171217 public function txtPad($value)
12181218 {
@@ -1226,7 +1226,7 @@ class Image
12261226 *
12271227 * @param int $value
12281228 *
1229 * @return this
1229 * @return $this
12301230 */
12311231 public function txtShad($value)
12321232 {
@@ -1240,7 +1240,7 @@ class Image
12401240 *
12411241 * @param string $value
12421242 *
1243 * @return this
1243 * @return $this
12441244 */
12451245 public function txt($value)
12461246 {
@@ -1254,7 +1254,7 @@ class Image
12541254 *
12551255 * @param int $value
12561256 *
1257 * @return this
1257 * @return $this
12581258 */
12591259 public function txtWidth($value)
12601260 {