nafigator/Veles

View on GitHub
Email/AbstractEmail.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

The variable $encoded_subj is not named in camelCase.
Open

    public function setSubject($subject)
    {
        $encoded_subj = base64_encode($subject);
        $charset = $this->getCharset();
        $this->subject = "=?$charset?B?$encoded_subj?=";
Severity: Minor
Found in Email/AbstractEmail.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 $encoded_subj is not named in camelCase.
Open

    public function setSubject($subject)
    {
        $encoded_subj = base64_encode($subject);
        $charset = $this->getCharset();
        $this->subject = "=?$charset?B?$encoded_subj?=";
Severity: Minor
Found in Email/AbstractEmail.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

There are no issues that match your filters.

Category
Status