Eye4web/Eye4webZfcUserPm

View on GitHub
src/Eye4web/ZfcUser/Pm/Mapper/DoctrineORM/PmMapper.php

Summary

Maintainability
B
4 hrs
Test Coverage

File PmMapper.php has 311 lines of code (exceeds 250 allowed). Consider refactoring.
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
Severity: Minor
Found in src/Eye4web/ZfcUser/Pm/Mapper/DoctrineORM/PmMapper.php - About 3 hrs to fix

    Method getUserReceives has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getUserReceives($userId)
        {
            $queryBuilder = $this->objectManager->createQueryBuilder();
            $queryBuilder->select('r')
                ->from($this->options->getConversationReceiverEntity(), 'r')
    Severity: Minor
    Found in src/Eye4web/ZfcUser/Pm/Mapper/DoctrineORM/PmMapper.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status