juniorb2ss/zServices

View on GitHub
src/Helpers/Sintegra.php

Summary

Maintainability
A
35 mins
Test Coverage

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

    function sintegra($portal = 'SP', $document = false, $cookie = false, $captcha = false, $params = [])
Severity: Minor
Found in src/Helpers/Sintegra.php - About 35 mins to fix

Missing class import via use statement (line '19', column '18').
Open

        $search = (new \zServices\Sintegra\Search)->service($portal);
Severity: Minor
Found in src/Helpers/Sintegra.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

There are no issues that match your filters.

Category
Status