src/app/code/community/StackExchange/LockAttributes/Model/System/Config/Source/Product/Attributes/All.php
Avoid excessively long class names like StackExchange_LockAttributes_Model_System_Config_Source_Product_Attributes_All. Keep class name length under 40. Open
Open
class StackExchange_LockAttributes_Model_System_Config_Source_Product_Attributes_All
{
/**
* @var array $options
*/
- Read upRead up
- Exclude checks
LongClassName
Since: 2.9
Detects when classes or interfaces are declared with excessively long names.
Example
class ATooLongClassNameThatHintsAtADesignProblem {
}
interface ATooLongInterfaceNameThatHintsAtADesignProblem {
}
Source https://phpmd.org/rules/naming.html#longclassname
Each class must be in a namespace of at least one level (a top-level vendor name) Invalid
Invalid
class StackExchange_LockAttributes_Model_System_Config_Source_Product_Attributes_All
- Exclude checks
Class name "StackExchange_LockAttributes_Model_System_Config_Source_Product_Attributes_All" is not in camel caps format Invalid
Invalid
class StackExchange_LockAttributes_Model_System_Config_Source_Product_Attributes_All
- Exclude checks