lib/Weathermap/Core/ImageUtility.php
Method createColorizePalette
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function createColorizePalette($red, $green, $blue)
{
// We will create a monochromatic palette based on the input color
// which will go from black to white
Method imageRoundedRectangle
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function imageRoundedRectangle($imageRef, $left, $top, $right, $bottom, $radius, $color)
Method imageFilledRoundedRectangle
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function imageFilledRoundedRectangle($imageRef, $left, $top, $right, $bottom, $radius, $color)
Method drawMarkerPolygon
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function drawMarkerPolygon($gdImage, $colour, $point, $size, $relativeMoves)