Backoffice/Tests/ValueTransformer/Strategies/EmbeddedEntityToHtmlStringTransformerTest.php
Avoid excessively long class names like EmbeddedEntityToHtmlStringTransformerTest. Keep class name length under 40. Open
Open
class EmbeddedEntityToHtmlStringTransformerTest extends AbstractTransformerTest
{
protected $property = 'fakeProperty';
/**
- Read upRead up
- Create a ticketCreate a ticket
- 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
The closing brace for the class must go on the next line after the body Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks