antonmarin/amocrm

View on GitHub
src/Contact/ContactsRepository.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused parameters such as '$params'.
Open

    public function getLinks($params = [])
Severity: Minor
Found in src/Contact/ContactsRepository.php by phpmd

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Avoid unused parameters such as '$contacts'.
Open

    public function set($contacts)
Severity: Minor
Found in src/Contact/ContactsRepository.php by phpmd

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

TODO found
Open

        // TODO implement
Severity: Minor
Found in src/Contact/ContactsRepository.php by fixme

Parameter $params is never used
Open

    public function getLinks($params = [])
Severity: Minor
Found in src/Contact/ContactsRepository.php by phan

Parameter $contacts is never used
Open

    public function set($contacts)
Severity: Minor
Found in src/Contact/ContactsRepository.php by phan

Possibly zero references to public method \amocrm\Contact\ContactsRepository::set()
Open

    public function set($contacts)
Severity: Minor
Found in src/Contact/ContactsRepository.php by phan

Possibly zero references to public method \amocrm\Contact\ContactsRepository::getList()
Open

    public function getList($params = [])
Severity: Minor
Found in src/Contact/ContactsRepository.php by phan

Possibly zero references to public method \amocrm\Contact\ContactsRepository::getLinks()
Open

    public function getLinks($params = [])
Severity: Minor
Found in src/Contact/ContactsRepository.php by phan

There are no issues that match your filters.

Category
Status