Block/Tab/Content/Config.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Magento\Framework\View\Element\Template\Context $context,
\Magento\Framework\App\Config $appConfig,
\ADM\QuickDevBar\Helper\Data $qdbHelper,
\ADM\QuickDevBar\Helper\Register $qdbHelperRegister,
array $data = []
The property $_config_values is not named in camelCase. Open
Open
class Config extends \ADM\QuickDevBar\Block\Tab\Panel
{
protected $_config_values;
protected $_appConfig;
- Read upRead up
- Exclude checks
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 $_appConfig is not named in camelCase. Open
Open
class Config extends \ADM\QuickDevBar\Block\Tab\Panel
{
protected $_config_values;
protected $_appConfig;
- Read upRead up
- Exclude checks
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 _buildFlatConfig is not named in camelCase. Open
Open
protected function _buildFlatConfig($scope, $path = '')
{
$flatConfig = [];
if (is_array($scope)) {
foreach ($scope as $scopeKey => $scopeValue) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}