antonmarin/amocrm

View on GitHub

Showing 75 of 75 total issues

Expected 1 newline at end of file; 0 found
Open

}

Possibly zero write references to private property \amocrm\Account\Account->language
Open

    private $language;
Severity: Minor
Found in src/Account/Account.php by phan

Reference to undeclared constant \amocrm\Connection\CurlHttpClientAdapter::METHOD_GET
Open

            case self::METHOD_GET:

Possibly zero references to public method \amocrm\Account\Account::getTimezone()
Open

    public function getTimezone()
Severity: Minor
Found in src/Account/Account.php by phan

Possibly zero references to class \amocrm\Field\FieldRepository
Open

class FieldRepository extends Repository
Severity: Minor
Found in src/Field/FieldRepository.php by phan

Possibly zero references to public method \amocrm\Account\Account::getDatePattern()
Open

    public function getDatePattern()
Severity: Minor
Found in src/Account/Account.php by phan

Possibly zero references to public class constant \amocrm\Connection\Connection::METHOD_POST
Open

    const METHOD_POST = 'POST';
Severity: Minor
Found in src/Connection/Connection.php by phan

Possibly zero read references to protected property \amocrm\Connection\Connection->email
Open

    protected $email;
Severity: Minor
Found in src/Connection/Connection.php by phan

Unreachable statement detected
Open

                break;
Severity: Minor
Found in src/Contact/ContactFactory.php by phan

Possibly zero references to protected method \amocrm\Lead\LeadRepository::getUrl()
Open

    protected function getUrl()
Severity: Minor
Found in src/Lead/LeadRepository.php by phan

TODO found
Open

        // TODO: Implement getUrl() method.
Severity: Minor
Found in src/Note/NoteRepository.php by fixme

Possibly zero write references to private property \amocrm\Account\Account->datePattern
Open

    private $datePattern;
Severity: Minor
Found in src/Account/Account.php by phan

Possibly zero references to public class constant \amocrm\Connection\Connection::AUTH_URL
Open

    const AUTH_URL = 'https://%s.amocrm.ru/private/api/auth.php?type=json';
Severity: Minor
Found in src/Connection/Connection.php by phan

TODO found
Open

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

Doc-block of $httpClient in __construct contains phpdoc param type null which is incompatible with the param type \amocrm\Connection\HttpClientInterface declared in the signature
Open

     * @param null|HttpClientInterface $httpClient Http клиент при помощи которого совершается запрос
Severity: Minor
Found in src/Connection/Connection.php by phan

Possibly zero references to public method \amocrm\Account\Account::getPaidFrom()
Open

    public function getPaidFrom()
Severity: Minor
Found in src/Account/Account.php by phan

Unreachable statement detected
Open

                break;

Method \amocrm\Note\NoteRepository::getUrl is declared to return string but has no return value
Open

    protected function getUrl()
Severity: Minor
Found in src/Note/NoteRepository.php by phan

Unreachable statement detected
Open

                break;
Severity: Minor
Found in src/Contact/ContactFactory.php by phan

Method \amocrm\Task\TaskRepository::getUrl is declared to return string but has no return value
Open

    protected function getUrl()
Severity: Minor
Found in src/Task/TaskRepository.php by phan
Severity
Category
Status
Source
Language