fulldecent/cameralife

View on GitHub
sources/Controllers/AdminCommentsController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method handleGet has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function handleGet($get, $post, $files, $cookies)
    {
        if (Models\User::currentUser($cookies)->authorizationLevel < 5) {
            throw new \Exception('You are not authorized to view this page');
        }
Severity: Minor
Found in sources/Controllers/AdminCommentsController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status