XoopsModules25x/apcal

View on GitHub

Showing 26,336 of 26,336 total issues

The property $gdimg_source is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

Avoid variables with short names like $sx. Configured minimum length is 3.
Open

    public $sx   = null;     // Source crop top-left X position
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

The property $config_allow_src_above_docroot is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_allow_src_above_phpthumb is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $exif_thumbnail_height is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

Avoid variables with short names like $zc. Configured minimum length is 3.
Open

    public $zc   = null;     // Zoom Crop
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

The property $config_error_bgcolor is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_nohotlink_valid_domains is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_nooffsitelink_watermark_src is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_auto_allow_symlinks is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $cache_filename is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_cache_maxage is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_additional_allowed_dirs is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $source_width is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $allow_local_http_src is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_output_maxwidth is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_prefer_imagemagick is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_nooffsitelink_require_refer is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_imagemagick_use_thumbnail is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $config_border_hexcolor is not named in camelCase.
Open

class phpthumb
{

    // public:
    // START PARAMETERS (for object mode and phpThumb.php)
Severity: Minor
Found in thumbs/phpthumb.class.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

Severity
Category
Status
Source
Language