open-orchestra/open-orchestra-libs

View on GitHub

Showing 6 of 6 total issues

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

    public function testGenerateFromRequest($mapping, $search, $order, $limit, $skip)
Severity: Minor
Found in Pagination/Tests/Configuration/PaginateFinderConfigurationTest.php - About 35 mins to fix

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

    protected function finderPaginateConfigurationTest(PaginateFinderConfiguration $configuration, $order, $limit, $skip, $search)
Severity: Minor
Found in Pagination/Tests/Configuration/PaginateFinderConfigurationTest.php - About 35 mins to fix

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

    public function testPaginateVarGeneration(array $mapping, $search, $order, $limit, $skip)
Severity: Minor
Found in Pagination/Tests/Configuration/PaginateFinderConfigurationTest.php - About 35 mins to fix

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

        $order = null,
        $skip = null,
        $limit = null,
        array $mapping = array(),
        $search = null
Severity: Minor
Found in Pagination/Configuration/PaginateFinderConfiguration.php - About 35 mins to fix

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

    public function generateFilter($type, $name, $value, $documentName='', $format='')
Severity: Minor
Found in Pagination/FilterType/FilterTypeManager.php - About 35 mins to fix

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

    public function setPaginateConfiguration($order = null, $skip = null, $limit = null, array $mapping, $search = null)
Severity: Minor
Found in Pagination/Configuration/PaginateFinderConfiguration.php - About 35 mins to fix
Severity
Category
Status
Source
Language