Dhii/i18n-abstract

View on GitHub
src/Exception/AbstractTranslationException.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _getTranslator is not named in camelCase.
Open

    protected function _getTranslator()
    {
        return $this->translator;
    }

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

    protected function _setSubject($subject)
    {
        $this->subject = $subject;

        return $this;

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

    protected function _setTranslator(TranslatorInterface $translator = null)
    {
        $this->translator = $translator;

        return $this;

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

    protected function _getSubject()
    {
        return $this->subject;
    }

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