Listeners/ContextRelationSubscriber.php
Method loadClassMetadata
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs)
{
// Filter out metadata that is not using the context interface
if (!in_array(self::CONTEXT_INTERFACE, class_implements($eventArgs->getClassMetadata()->getName()))) {
return;