AppStateESS/homestead

View on GitHub
class/BannerQueueItem.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method process has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function process()
    {
        $soap = SOAP::getInstance(UserStatus::getUsername(), UserStatus::isAdmin()?(SOAP::ADMIN_USER):(SOAP::STUDENT_USER));

        $result = null;
Severity: Minor
Found in class/BannerQueueItem.php - About 1 hr to fix

Method __construct has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct($id = null, $type = null, Student $student = null, $term = null, ResidenceHall $hall = null, Bed $bed = null, $percentRefund = null)
Severity: Major
Found in class/BannerQueueItem.php - About 50 mins to fix

There are no issues that match your filters.

Category
Status