Admidio/admidio

View on GitHub
adm_program/modules/profile/profile_new.php

Summary

Maintainability
B
5 hrs
Test Coverage

File profile_new.php has 378 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
 ***********************************************************************************************
 * Create or edit a user profile
 *
Severity: Minor
Found in adm_program/modules/profile/profile_new.php - About 5 hrs to fix

    Avoid deeply nested control flow statements.
    Open

                        if ($pdoStatement->rowCount() > 0 && $pdoStatement->fetchColumn() !== $getUserUuid) {
                            throw new Exception('SYS_LOGIN_NAME_EXIST');
                        }
    Severity: Major
    Found in adm_program/modules/profile/profile_new.php - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status