htdocs/include/protection.php
Variable $icmsConfigPersona
is undeclared Open
Open
$fontSize = (int) ($icmsConfigPersona['email_font_len']);
- Exclude checks
Argument 1 (x_size)
is float
but \imagecreate()
takes int
Open
Open
$image = imagecreate($width,$height);
- Exclude checks
Variable $icmsConfigPersona
is undeclared Open
Open
if ($icmsConfigPersona['email_shadow']!="") {
- Exclude checks
Variable $icmsConfigPersona
is undeclared Open
Open
$font = ICMS_LIBRARIES_PATH . '/icms/form/elements/captcha/fonts/'.$icmsConfigPersona['email_font'];
- Exclude checks
Variable $icmsConfigPersona
is undeclared Open
Open
$fg = $icmsConfigPersona['email_cor'];
- Exclude checks
Variable $icmsConfigPersona
is undeclared Open
Open
if ($icmsConfigPersona['email_shadow']!="") {
- Exclude checks
Variable $icmsConfigPersona
is undeclared Open
Open
imagettftext($image, $fontSize, 0, (int) ($icmsConfigPersona['shadow_y']), $height- (int) ($icmsConfigPersona['shadow_x'])-5, $shadow , $font, $emailAddress);
- Exclude checks
Variable $icmsConfigPersona
is undeclared Open
Open
$fg = $icmsConfigPersona['email_shadow'];
- Exclude checks
Argument 4 (x2)
is float
but \imagefilledrectangle()
takes int
Open
Open
ImageFilledRectangle($image,0,0,$width,$height,$white);
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks
Space found before comma in function call Open
Open
imagettftext($image, $fontSize, 0, (int) ($icmsConfigPersona['shadow_y']), $height- (int) ($icmsConfigPersona['shadow_x'])-5, $shadow , $font, $emailAddress);
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$blue = hexdec( $ret[3] );
- Exclude checks
Expected 1 space after closing parenthesis; found 5 Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$sred = hexdec( $ret[1] );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$sblue = hexdec( $ret[3] );
- Exclude checks
No space found after comma in function call Open
Open
ImageFilledRectangle($image,0,0,$width,$height,$white);
- Exclude checks
Expected 1 space after closing parenthesis; found 1 Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$sred = hexdec( $ret[1] );
- Exclude checks
No space found after comma in function call Open
Open
$shadow = imagecolorallocate($image, $sred,$sgreen,$sblue);
- Exclude checks
No space found after comma in function call Open
Open
ImageFilledRectangle($image,0,0,$width,$height,$white);
- Exclude checks
A closing tag is not permitted at the end of a PHP file Open
Open
?>
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$red = hexdec( $ret[1] );
- Exclude checks
No space found after comma in function call Open
Open
$white = ImageColorAllocate($image,255,255,255);
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$green = hexdec( $ret[2] );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$sgreen = hexdec( $ret[2] );
- Exclude checks
No space found after comma in function call Open
Open
$frente = imagecolorallocate($image, $red,$green,$blue);
- Exclude checks
No space found after comma in function call Open
Open
ImageFilledRectangle($image,0,0,$width,$height,$white);
- Exclude checks
No space found after comma in function call Open
Open
$frente = imagecolorallocate($image, $red,$green,$blue);
- Exclude checks
No space found after comma in function call Open
Open
$image = imagecreate($width,$height);
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$sgreen = hexdec( $ret[2] );
- Exclude checks
No space found after comma in function call Open
Open
$white = ImageColorAllocate($image,255,255,255);
- Exclude checks
No space found after comma in function call Open
Open
$white = ImageColorAllocate($image,255,255,255);
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
Header( "Content-type: image/png");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$red = hexdec( $ret[1] );
- Exclude checks
No space found after comma in function call Open
Open
$shadow = imagecolorallocate($image, $sred,$sgreen,$sblue);
- Exclude checks
No space found after comma in function call Open
Open
ImageFilledRectangle($image,0,0,$width,$height,$white);
- Exclude checks
No space found after comma in function call Open
Open
ImageFilledRectangle($image,0,0,$width,$height,$white);
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$blue = hexdec( $ret[3] );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$sblue = hexdec( $ret[3] );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$green = hexdec( $ret[2] );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
?>
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
- Exclude checks