src/parser/TokenReader.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct(Tokenizer $input)
    {
        parent::__construct($input);
        $name_parser = new NameParser($this);
        $type_parser = new TypeParser($this);
Severity: Minor
Found in src/parser/TokenReader.php - About 1 hr to fix

    The variable $expr_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $type_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $decl_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $decl_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $stmt_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $type_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $stmt_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $name_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $name_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $expr_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $name_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $expr_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $stmt_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $name_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $expr_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $type_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $decl_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $stmt_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $stmt_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $name_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $type_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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 $type_parser is not named in camelCase.
    Open

        public function __construct(Tokenizer $input)
        {
            parent::__construct($input);
            $name_parser = new NameParser($this);
            $type_parser = new TypeParser($this);
    Severity: Minor
    Found in src/parser/TokenReader.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