mambax7/extgallery

View on GitHub

Showing 9,653 of 9,653 total issues

The method Image_Transform_Driver_Imagick3 is not named in camelCase.
Open

    public function Image_Transform_Driver_Imagick3()
    {
        $this->__construct();
    }

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _get_image_details is not named in camelCase.
Open

    public function _get_image_details()
    {
        $this->img_x = imlib_image_get_width($this->imageHandle);
        $this->img_y = imlib_image_get_height($this->imageHandle);
        $this->type  = imlib_image_format($this->imageHandle);

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _prepare_cmd is not named in camelCase.
Open

    public function _prepare_cmd($path, $command, $args = '')
    {
        if (!OS_WINDOWS
            || !preg_match('/\s/', $path)) {
            return $path . $command . ' ' . $args;
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getColor is not named in camelCase.
Open

    public function _getColor($colorOf, $options = [], $default = [0, 0, 0])
    {
        $opt = array_merge($this->_options, (array)$options);
        if (isset($opt[$colorOf])) {
            $color = $opt[$colorOf];
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _set_new_x is not named in camelCase.
Open

    public function _set_new_x($size)
    {
        $this->new_x = $size;
    }
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _set_new_y is not named in camelCase.
Open

    public function _set_new_y($size)
    {
        $this->new_y = $size;
    }
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _throwError is not named in camelCase.
Open

    protected static function _throwError($object, $message = null, $code = null, $userinfo = null)
    {
        if (null !== $object) {
            $a = $object->raiseError($message, $code, null, null, $userinfo);
            return $a;
Severity: Minor
Found in class/pear/PEAR.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _setErrorHandling is not named in camelCase.
Open

    protected static function _setErrorHandling(
        $object,
        $mode = null,
        $options = null
    ) {
Severity: Minor
Found in class/pear/PEAR.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _send_display_headers is not named in camelCase.
Open

    public function _send_display_headers($type)
    {
        // Find the filename of the original image:
        $filename = explode('.', basename($this->image));
        $filename = $filename[0];
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _multipleToStruct is not named in camelCase.
Open

    protected static function _multipleToStruct($files)
    {
        $struct = ['dirs' => [], 'files' => []];
        $files  = (array)$files;
        foreach ($files as $file) {
Severity: Minor
Found in class/pear/System.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method PEAR_Error is not named in camelCase.
Open

    public function PEAR_Error(
        $message = 'unknown error',
        $code = null,
        $mode = null,
        $options = null,
Severity: Minor
Found in class/pear/PEAR.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _removeTmpFiles is not named in camelCase.
Open

    public static function _removeTmpFiles()
    {
        if (count($GLOBALS['_System_temp_files'])) {
            $delete = $GLOBALS['_System_temp_files'];
            array_unshift($delete, '-r');
Severity: Minor
Found in class/pear/System.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _popErrorHandling is not named in camelCase.
Open

    protected static function _popErrorHandling($object)
    {
        $stack = &$GLOBALS['_PEAR_error_handler_stack'];
        array_pop($stack);
        [$mode, $options] = $stack[count($stack) - 1];
Severity: Minor
Found in class/pear/PEAR.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _parseArgs is not named in camelCase.
Open

    public static function _parseArgs($argv, $short_options, $long_options = null)
    {
        if (!is_array($argv) && null !== $argv) {
            /*
            // Quote all items that are a short option
Severity: Minor
Found in class/pear/System.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _dirToStruct is not named in camelCase.
Open

    protected static function _dirToStruct($sPath, $maxinst, $aktinst = 0, $silent = false)
    {
        $struct = ['dirs' => [], 'files' => []];
        if (false === ($dir = @opendir($sPath))) {
            if (!$silent) {
Severity: Minor
Found in class/pear/System.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

TODO found
Open

                    // TODO: rethink if this is necessary
Severity: Minor
Found in assets/js/galleria/galleria-1.3.3.js by fixme

TODO found
Open

    // TODO occational event conflicts
Severity: Minor
Found in assets/js/galleria/galleria-1.1.js by fixme

TODO found
Open

                // TODO: find a way to avoid such cloning

TODO found
Open

        // TODO set exportSchema
Severity: Minor
Found in testdata/index.php by fixme

TODO found
Open

                    // TODO: rethink if this is necessary
Severity: Minor
Found in assets/js/galleria/galleria-1.3.5.js by fixme
Severity
Category
Status
Source
Language