autowp/autowp

View on GitHub
module/Application/src/Controller/Api/LogController.php

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method indexAction has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function indexAction()
    {
        if (! $this->user()->enforce('global', 'moderate')) {
            return $this->forbiddenAction();
        }
Severity: Minor
Found in module/Application/src/Controller/Api/LogController.php - About 1 hr to fix

    syntax error, unexpected 'Log' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
    Open

        private Log $log;

    There are no issues that match your filters.

    Category
    Status