Showing 2 of 10 total issues
Avoid excessively long class names like StackExchange_LockAttributes_Model_Observer. Keep class name length under 40. Open
Open
class StackExchange_LockAttributes_Model_Observer
{
/**
* Make product attributes uneditable
*
- 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
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 {
}