Showing 20,971 of 20,976 total issues

The variable $buf_o is not named in camelCase.
Open

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $file_buffer is not named in camelCase.
Open

    protected function encodeFile($path, $encoding = 'base64')
    {
        try {
            if (!is_readable($path)) {
                throw new phpmailerException($this->lang('file_open').$path, self::STOP_CONTINUE);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $qp_mode is not named in camelCase.
Open

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $buf_o is not named in camelCase.
Open

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $magic_quotes is not named in camelCase.
Open

    protected function encodeFile($path, $encoding = 'base64')
    {
        try {
            if (!is_readable($path)) {
                throw new phpmailerException($this->lang('file_open').$path, self::STOP_CONTINUE);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $bad_rcpt is not named in camelCase.
Open

    protected function smtpSend($header, $body)
    {
        $bad_rcpt = [];

        if (!$this->smtpConnect()) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $header_dkim is not named in camelCase.
Open

    public function preSend()
    {
        try {
            $this->mailHeader = '';
            if ((count($this->to) + count($this->cc) + count($this->bcc)) < 1) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $lang_path is not named in camelCase.
Open

    public function setLanguage($langcode = 'en', $lang_path = 'language/')
    {
        //Define full set of translatable strings
        $PHPMAILER_LANG = [
            'authenticate'         => 'SMTP Error: Could not authenticate.',
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $old_from is not named in camelCase.
Open

    protected function mailSend($header, $body)
    {
        $toArr = [];
        foreach ($this->to as $t) {
            $toArr[] = $this->addrFormat($t);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $uniq_id is not named in camelCase.
Open

    public function createHeader()
    {
        $result = '';

        // Set the boundaries
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $uniq_id is not named in camelCase.
Open

    public function createHeader()
    {
        $result = '';

        // Set the boundaries
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $disposition_type is not named in camelCase.
Open

    protected function attachAll($disposition_type, $boundary)
    {
        // Return text of body
        $mime = [];
        $cidUniq = [];
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $smtp_from is not named in camelCase.
Open

    protected function smtpSend($header, $body)
    {
        $bad_rcpt = [];

        if (!$this->smtpConnect()) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $bad_rcpt is not named in camelCase.
Open

    protected function smtpSend($header, $body)
    {
        $bad_rcpt = [];

        if (!$this->smtpConnect()) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $is_utf8 is not named in camelCase.
Open

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $line_part is not named in camelCase.
Open

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $space_left is not named in camelCase.
Open

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $magic_quotes is not named in camelCase.
Open

    protected function encodeFile($path, $encoding = 'base64')
    {
        try {
            if (!is_readable($path)) {
                throw new phpmailerException($this->lang('file_open').$path, self::STOP_CONTINUE);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $file_buffer is not named in camelCase.
Open

    protected function encodeFile($path, $encoding = 'base64')
    {
        try {
            if (!is_readable($path)) {
                throw new phpmailerException($this->lang('file_open').$path, self::STOP_CONTINUE);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 $bad_rcpt is not named in camelCase.
Open

    protected function smtpSend($header, $body)
    {
        $bad_rcpt = [];

        if (!$this->smtpConnect()) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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

Severity
Category
Status
Source
Language