src/Eye4web/ZfcUser/Pm/Mapper/DoctrineORM/PmMapper.php
File PmMapper.php
has 311 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Method getUserReceives
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getUserReceives($userId)
{
$queryBuilder = $this->objectManager->createQueryBuilder();
$queryBuilder->select('r')
->from($this->options->getConversationReceiverEntity(), 'r')