src/parser/NameParser.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _typename is not named in camelCase.
Open

    public function _typename()
    {
        return $this->reader->match(Tag::T_TYPENAME);
    }
Severity: Minor
Found in src/parser/NameParser.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 _qualifiedName is not named in camelCase.
Open

    public function _qualifiedName()
    {
        $names = [];
        do {
            $names[] = $this->_identifier();
Severity: Minor
Found in src/parser/NameParser.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 _identifier is not named in camelCase.
Open

    public function _identifier()
    {
        return $this->reader->match(Tag::T_IDENT);
    }
Severity: Minor
Found in src/parser/NameParser.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

There are no issues that match your filters.

Category
Status