antonmarin/amocrm

View on GitHub
src/Account/Account.php

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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 public method \amocrm\Account\Account::getDatePattern()
Open

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

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 method \amocrm\Account\Account::getPaidFrom()
Open

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Avoid variables with short names like $id. Configured minimum length is 3.
Open

    private $id;
Severity: Minor
Found in src/Account/Account.php by phpmd

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

There are no issues that match your filters.

Category
Status