UWEnrollmentManagement/Person

View on GitHub
src/Student.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method registrationSearch has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function registrationSearch($year, $quarter, array $extraSearchTerms = [])
    {

        if (is_numeric($year) === false || $year < 1950 || $year > 2100) {
            throw new \Exception("Please provide a numeric year between 1950 and 2100");
Severity: Minor
Found in src/Student.php - About 1 hr to fix

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

        public static function fromIdentifier($identifierKey, $identifierValue)
        {
            /** @var null|Person $student */
            $student = parent::fromIdentifier($identifierKey, $identifierValue);
    
    
    Severity: Minor
    Found in src/Student.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status