vpietri/magento2-developer-quickdevbar

View on GitHub
Block/Tab/Content/Log.php

Summary

Maintainability
A
35 mins
Test Coverage

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        \Magento\Framework\View\Element\Template\Context $context,
        \Magento\Framework\Json\Helper\Data $jsonHelper,
        \ADM\QuickDevBar\Helper\Data $qdbHelper,
        \ADM\QuickDevBar\Helper\Register $qdbHelperRegister,
        array $data = []
Severity: Minor
Found in Block/Tab/Content/Log.php - About 35 mins to fix

    The property $_jsonHelper is not named in camelCase.
    Open

    class Log extends \ADM\QuickDevBar\Block\Tab\Panel
    {
    
        protected $_jsonHelper;
    
    
    Severity: Minor
    Found in Block/Tab/Content/Log.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

    There are no issues that match your filters.

    Category
    Status