vpietri/magento2-developer-quickdevbar

View on GitHub
Controller/Index.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $_qdbHelper is not named in camelCase.
Open

class Index extends \Magento\Framework\App\Action\Action
{
    /**
     * @var \ADM\QuickDevBar\Helper\Data
     */
Severity: Minor
Found in Controller/Index.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $_layoutFactory is not named in camelCase.
Open

class Index extends \Magento\Framework\App\Action\Action
{
    /**
     * @var \ADM\QuickDevBar\Helper\Data
     */
Severity: Minor
Found in Controller/Index.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $_resultRawFactory is not named in camelCase.
Open

class Index extends \Magento\Framework\App\Action\Action
{
    /**
     * @var \ADM\QuickDevBar\Helper\Data
     */
Severity: Minor
Found in Controller/Index.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The method _isAllowed is not named in camelCase.
Open

    protected function _isAllowed()
    {
        return $this->_qdbHelper->isToolbarAccessAllowed();
    }
Severity: Minor
Found in Controller/Index.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