Sorry, data for that comparison is no longer available.

seatplus/eveapi

View on GitHub
src/Models/Contacts/Contact.php

Summary

Maintainability
A
0 mins
Test Coverage
A
93%

The method character_affiliation is not named in camelCase.
Invalid

    public function character_affiliation(): HasOne
    {
        return $this->hasOne(CharacterAffiliation::class, 'character_id', 'contact_id');
    }
Severity: Minor
Found in src/Models/Contacts/Contact.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method faction_affiliation is not named in camelCase.
Invalid

    public function faction_affiliation(): HasOne
    {
        return $this->hasOne(CharacterAffiliation::class, 'faction_id', 'contact_id');
    }
Severity: Minor
Found in src/Models/Contacts/Contact.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method corporation_affiliation is not named in camelCase.
Invalid

    public function corporation_affiliation(): HasOne
    {
        return $this->hasOne(CharacterAffiliation::class, 'corporation_id', 'contact_id');
    }
Severity: Minor
Found in src/Models/Contacts/Contact.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method alliance_affiliation is not named in camelCase.
Invalid

    public function alliance_affiliation(): HasOne
    {
        return $this->hasOne(CharacterAffiliation::class, 'alliance_id', 'contact_id');
    }
Severity: Minor
Found in src/Models/Contacts/Contact.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status