PascalKleindienst/octobercms-github-projects

View on GitHub
components/RepoList.php

Summary

Maintainability
A
1 hr
Test Coverage

Method defineProperties has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function defineProperties()
    {
        return $this->paginationProperties([
            'user'      => [
                'title'       => 'pkleindienst.githubprojects::lang.list.user_title',
Severity: Minor
Found in components/RepoList.php - About 1 hr to fix

    Only one argument is allowed per line in a multi-line function call
    Open

                $this->property('user'), $this->property('type'), $this->property('sort'), $this->property('direction'), $this->property('page'), $this->property('per_page')
    Severity: Minor
    Found in components/RepoList.php by phpcodesniffer

    Only one argument is allowed per line in a multi-line function call
    Open

                $this->property('user'), $this->property('type'), $this->property('sort'), $this->property('direction'), $this->property('page'), $this->property('per_page')
    Severity: Minor
    Found in components/RepoList.php by phpcodesniffer

    Only one argument is allowed per line in a multi-line function call
    Open

                $this->property('user'), $this->property('type'), $this->property('sort'), $this->property('direction'), $this->property('page'), $this->property('per_page')
    Severity: Minor
    Found in components/RepoList.php by phpcodesniffer

    Only one argument is allowed per line in a multi-line function call
    Open

                $this->property('user'), $this->property('type'), $this->property('sort'), $this->property('direction'), $this->property('page'), $this->property('per_page')
    Severity: Minor
    Found in components/RepoList.php by phpcodesniffer

    Only one argument is allowed per line in a multi-line function call
    Open

                $this->property('user'), $this->property('type'), $this->property('sort'), $this->property('direction'), $this->property('page'), $this->property('per_page')
    Severity: Minor
    Found in components/RepoList.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status