fossasia/engelsystem

View on GitHub
includes/model/AngelType_model.php

Summary

Maintainability
B
4 hrs
Test Coverage

Showing 2 of 2 total issues

Method AngelType_update has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function AngelType_update($angeltype_id, $name, $restricted, $description, $requires_driver_license) {
Severity: Minor
Found in includes/model/AngelType_model.php - About 35 mins to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    function AngelType_validate_name($name, $angeltype) {
    $name = strip_item($name);
    if ($name == "")
    return array(
    false,
    Severity: Major
    Found in includes/model/AngelType_model.php and 1 other location - About 3 hrs to fix
    includes/model/Events_model.php on lines 72..98

    There are no issues that match your filters.

    Category
    Status