Showing 20,971 of 20,976 total issues

The variable $x_offset is not named in camelCase.
Open

    public function resize($height, $width, $crop = true, $xCorrection = 0, $yCorrection = 0)
    {
        if ($this->imageInCache($width, $height, $crop)) {
            return;
        }
Severity: Minor
Found in lib/Ajde/Resource/Image.php by phpmd

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $y_offset is not named in camelCase.
Open

    public function resize($height, $width, $crop = true, $xCorrection = 0, $yCorrection = 0)
    {
        if ($this->imageInCache($width, $height, $crop)) {
            return;
        }
Severity: Minor
Found in lib/Ajde/Resource/Image.php by phpmd

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_mtime is not named in camelCase.
Open

    public function write()
    {
        header('Content-Type: text/javascript');

        // No cache directory so just dump the output.

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $old_y is not named in camelCase.
Open

    public function getWidth($calculate = true)
    {
        if ($this->has('width') && !$this->isEmpty('width')) {
            return $this->get('width');
        } else {
Severity: Minor
Found in lib/Ajde/Resource/Image.php by phpmd

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $x_offset is not named in camelCase.
Open

    public function resize($height, $width, $crop = true, $xCorrection = 0, $yCorrection = 0)
    {
        if ($this->imageInCache($width, $height, $crop)) {
            return;
        }
Severity: Minor
Found in lib/Ajde/Resource/Image.php by phpmd

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $y_offset is not named in camelCase.
Open

    public function resize($height, $width, $crop = true, $xCorrection = 0, $yCorrection = 0)
    {
        if ($this->imageInCache($width, $height, $crop)) {
            return;
        }
Severity: Minor
Found in lib/Ajde/Resource/Image.php by phpmd

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_file is not named in camelCase.
Open

    public function write()
    {
        header('Content-Type: text/javascript');

        // No cache directory so just dump the output.

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_file is not named in camelCase.
Open

    public function write()
    {
        header('Content-Type: text/javascript');

        // No cache directory so just dump the output.

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_mtime is not named in camelCase.
Open

    public function write()
    {
        header('Content-Type: text/javascript');

        // No cache directory so just dump the output.

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_file is not named in camelCase.
Open

    public function _isRecompileNeeded($cache_file)
    {
        // If there is no cache file, we obviously need to recompile.
        if (!file_exists($cache_file)) {
            return true;

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_mtime is not named in camelCase.
Open

    public function _isRecompileNeeded($cache_file)
    {
        // If there is no cache file, we obviously need to recompile.
        if (!file_exists($cache_file)) {
            return true;

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_mtime is not named in camelCase.
Open

    public function _isRecompileNeeded($cache_file)
    {
        // If there is no cache file, we obviously need to recompile.
        if (!file_exists($cache_file)) {
            return true;

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $cache_mtime is not named in camelCase.
Open

    public function _isRecompileNeeded($cache_file)
    {
        // If there is no cache file, we obviously need to recompile.
        if (!file_exists($cache_file)) {
            return true;

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_fastDecode is not named in camelCase.
Open

    public function __construct($_script, $_encoding = 62, $_fastDecode = true, $_specialChars = false)
    {
        $this->_script = $_script."\n";
        if (array_key_exists($_encoding, $this->LITERAL_ENCODING)) {
            $_encoding = $this->LITERAL_ENCODING[$_encoding];

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_sorted is not named in camelCase.
Open

    private function _analyze($script, $regexp, $encode)
    {
        // analyse
        // retreive all words in the script
        $all = [];

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_encoded is not named in camelCase.
Open

    private function _analyze($script, $regexp, $encode)
    {
        // analyse
        // retreive all words in the script
        $all = [];

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_encoding is not named in camelCase.
Open

    public function __construct($_script, $_encoding = 62, $_fastDecode = true, $_specialChars = false)
    {
        $this->_script = $_script."\n";
        if (array_key_exists($_encoding, $this->LITERAL_ENCODING)) {
            $_encoding = $this->LITERAL_ENCODING[$_encoding];

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_protected is not named in camelCase.
Open

    private function _analyze($script, $regexp, $encode)
    {
        // analyse
        // retreive all words in the script
        $all = [];

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_protected is not named in camelCase.
Open

    private function _analyze($script, $regexp, $encode)
    {
        // analyse
        // retreive all words in the script
        $all = [];

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_protected is not named in camelCase.
Open

    private function _analyze($script, $regexp, $encode)
    {
        // analyse
        // retreive all words in the script
        $all = [];

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

Severity
Category
Status
Source
Language