Showing 20,971 of 20,976 total issues

The method DKIM_QP is not named in camelCase.
Open

    public function DKIM_QP($txt)
    {
        $line = '';
        for ($i = 0; $i < strlen($txt); $i++) {
            $ord = ord($txt[$i]);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 _validate is not named in camelCase.
Open

    protected function _validate()
    {
        if (empty($this->_value)) {
            if (!$this->getIsAutoIncrement()) {
                return ['valid' => false, 'error' => trans('Required field')];
Severity: Minor
Found in lib/Ajde/Model/Validator/Required.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 _validate is not named in camelCase.
Open

    protected function _validate()
    {
        if (!empty($this->_value)) {
            if ($length = $this->getLength()) {
                if (strlen($this->_value) > $length) {
Severity: Minor
Found in lib/Ajde/Model/Validator/Text.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 _load is not named in camelCase.
Open

    protected function _load($sql, $values, $populate = true)
    {
        $statement = $this->getConnection()->prepare($sql);
        $statement->execute($values);
        $result = $statement->fetch(PDO::FETCH_ASSOC);
Severity: Minor
Found in lib/Ajde/Model.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 mb_pathinfo is not named in camelCase.
Open

    public static function mb_pathinfo($path, $options = null)
    {
        $ret = ['dirname' => '', 'basename' => '', 'extension' => '', 'filename' => ''];
        $m = [];
        preg_match('%^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$%im', $path, $m);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 DKIM_Add is not named in camelCase.
Open

    public function DKIM_Add($headers_line, $subject, $body)
    {
        $DKIMsignatureType = 'rsa-sha1'; // Signature & hash algorithms
        $DKIMcanonicalization = 'relaxed/simple'; // Canonicalization of header/body
        $DKIMquery = 'dns/txt'; // Query method
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 get_lines is not named in camelCase.
Open

    protected function get_lines()
    {
        $data = '';
        $endtime = 0;
        // If the connection is bad, give up now
Severity: Minor
Found in lib/Ajde/Mailer/class.smtp.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 _validate is not named in camelCase.
Open

    abstract protected function _validate();
Severity: Minor
Found in lib/Ajde/Model/ValidatorAbstract.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 is not named in camelCase.
Open

    protected function _set($name, $value)
    {
        parent::_set($name, $value);
        if ($this->isFieldEncrypted($name)) {
            parent::_set($name, $this->encrypt($name));
Severity: Minor
Found in lib/Ajde/Model.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 SendQuickMail is not named in camelCase.
Open

    public function SendQuickMail($to, $from, $fromName, $subject, $body, $toName = '')
    {
        // set class to use PHP mail function
        // $this->IsMail();

Severity: Minor
Found in lib/Ajde/Mailer.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 _get is not named in camelCase.
Open

    protected function _get($name)
    {
        if ($this->isFieldEncrypted($name)) {
            return $this->decrypt($name);
        }
Severity: Minor
Found in lib/Ajde/Model.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 _validate is not named in camelCase.
Open

    protected function _validate()
    {
        if (!empty($this->_value)) {
            if (!is_numeric($this->_value)) {
                return ['valid' => false, 'error' => trans('Not a number')];
Severity: Minor
Found in lib/Ajde/Model/Validator/Numeric.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 _mime_types is not named in camelCase.
Open

    public static function _mime_types($ext = '')
    {
        $mimes = [
            'xl'    => 'application/excel',
            'hqx'   => 'application/mac-binhex40',
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 DKIM_Sign is not named in camelCase.
Open

    public function DKIM_Sign($s)
    {
        if (!defined('PKCS7_TEXT')) {
            if ($this->exceptions) {
                throw new phpmailerException($this->lang('signing').' OpenSSL extension missing.');
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 DKIM_BodyC is not named in camelCase.
Open

    public function DKIM_BodyC($body)
    {
        if ($body == '') {
            return "\r\n";
        }
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.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 _validate is not named in camelCase.
Open

    protected function _validate()
    {
        return ['valid' => true];
    }
Severity: Minor
Found in lib/Ajde/Model/Validator/Date.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 _validate is not named in camelCase.
Open

    protected function _validate()
    {
        $pk = $this->getModel()->getPK();
        $model = $this->getModel();

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 _validate is not named in camelCase.
Open

    protected function _validate()
    {
        if (!empty($this->_value)) {

            //            return array('valid' => false, 'error' => __('This ' . $this->getValue() . ' already exists'));
Severity: Minor
Found in lib/Ajde/Model/Validator/Unique.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 client_send is not named in camelCase.
Open

    public function client_send($data)
    {
        if ($this->do_debug >= 1) {
            $this->edebug("CLIENT -> SERVER: $data");
        }
Severity: Minor
Found in lib/Ajde/Mailer/class.smtp.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 __getPattern is not named in camelCase.
Open

    public static function __getPattern()
    {
        return self::$__pattern;
    }
Severity: Minor
Found in lib/Ajde/Object/Singleton.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

Severity
Category
Status
Source
Language