Showing 9,653 of 9,653 total issues
Avoid using undefined variables such as '$angle' which will lead to PHP notices. Open
Open
$this->command[] = $this->_prepare_cmd(IMAGE_TRANSFORM_NETPBM_PATH, 'ppmlabel', '-angle ' . ((int)$angle) . ' -colour ' . escapeshellarg($color) . ' -size ' . ((float)$size) . ' -x ' . ((int)$x) . ' -y ' . $y + $size . ' -text ' . escapeshellarg($text));
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$types' which will lead to PHP notices. Open
Open
return isset($types[$t = mb_strtolower($type)]) ? $types[$t] : $type;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$angle' which will lead to PHP notices. Open
Open
imagepstext($this->imageHandle, $size, $angle, $x, $y, $c, $font, $text);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$resize_first' which will lead to PHP notices. Open
Open
if (true === $resize_first) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$font' which will lead to PHP notices. Open
Open
$fontResource = imlib_load_font($font . '/' . $size);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$colornames' which will lead to PHP notices. Open
Open
$color = $colornames[$color] ?? false;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$angle' which will lead to PHP notices. Open
Open
imlib_text_draw($this->imageHandle, $fontResource, $x, $y, $text, $angle, $color[0], $color[1], $color[2], 255);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$outputgamme' which will lead to PHP notices. Open
Open
if (1.0 != $outputgamme) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$x' which will lead to PHP notices. Open
Open
imlib_text_draw($this->imageHandle, $fontResource, $x, $y, $text, $angle, $color[0], $color[1], $color[2], 255);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Function galleria
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.galleria = function( options ) {
var selector = this.selector;
// try domReady if element not found
Function complete
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
complete: function( next ) {
Utils.show( next.container );
// toggle low quality for IE
Function show
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( elem, speed, callback ) {
callback = callback || F;
var $elem = $(elem);
Function add
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function(handleObj) {
var prop = this.propagate;
if ( Galleria.TOUCH ) {
$(this).on('touchstart.fast', function start(e) {
var ev = e.originalEvent,
Function galleria
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.galleria = function( options ) {
var selector = this.selector;
// try domReady if element not found
Function show
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( elem, speed, callback ) {
callback = callback || F;
var $elem = $(elem);
Function add
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function(handleObj) {
var prop = this.propagate;
if ( Galleria.TOUCH ) {
$(this).on('touchstart.fast', function start(e) {
var ev = e.originalEvent,
Function fadeslide
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fadeslide: function(params, complete) {
var x = 0,
easing = this.getOptions('easing');
Function bindControls
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bindControls: function() {
carousel.next.bind( CLICK(), function(e) {
e.preventDefault();
Function fancybox
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fancybox = function(obj) {
var opts;
if (busy) {
return;
Function getAjax
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getAjax: function(item) {
if(_ajaxCur)
_body.addClass(_ajaxCur);