eveseat/eveapi

View on GitHub

Showing 440 of 440 total issues

The method creator_corporation is not named in camelCase.
Open

    public function creator_corporation()
    {
        return $this->hasOne(UniverseName::class, 'entity_id', 'creator_corporation_id')
            ->withDefault([
                'category' => 'corporation',
Severity: Minor
Found in src/Models/Alliances/Alliance.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 add_migrations is not named in camelCase.
Open

    private function add_migrations()
    {
        $this->loadMigrationsFrom(__DIR__ . '/database/migrations/');
    }
Severity: Minor
Found in src/EveapiServiceProvider.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 refresh_tokens is not named in camelCase.
Open

    public function refresh_tokens()
    {
        return $this->belongsToMany(RefreshToken::class, 'bucket_refresh_token', 'bucket_id', 'character_id');
    }
Severity: Minor
Found in src/Models/Bucket.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 solar_systems is not named in camelCase.
Open

    public function solar_systems()
    {
        return $this->hasMany(SolarSystem::class, 'region_id', 'region_id');
    }
Severity: Minor
Found in src/Models/Sde/Region.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 cleanup_tables is not named in camelCase.
Open

    public function cleanup_tables()
    {

        logger()->info('[Cli] Performing tables maintenance');

Severity: Minor
Found in src/Jobs/Maintenance.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 agent_research is not named in camelCase.
Open

    public function agent_research()
    {

        return $this->hasMany(CharacterAgentResearch::class,
            'character_id', 'character_id');

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 pilot_attributes is not named in camelCase.
Open

    public function pilot_attributes()
    {

        return $this->hasOne(CharacterAttribute::class, 'character_id', 'character_id')
            ->withDefault();

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 refresh_token is not named in camelCase.
Open

    public function refresh_token()
    {
        return $this->hasOne(RefreshToken::class, 'character_id', 'character_id');
    }

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 contracts_from is not named in camelCase.
Open

    public function contracts_from()
    {
        return $this->morphMany(ContractDetail::class, 'start_location');
    }

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 contracts_to is not named in camelCase.
Open

    public function contracts_to()
    {
        return $this->morphMany(ContractDetail::class, 'end_location');
    }

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 add_sde_seeders is not named in camelCase.
Open

    private function add_sde_seeders()
    {
        // skipped until method is added back into services.
        // $this->registerSdeSeeders([
        //     \Seat\Eveapi\Database\Seeders\Sde\MapDenormalizeSeeder::class,
Severity: Minor
Found in src/EveapiServiceProvider.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 jump_clones is not named in camelCase.
Open

    public function jump_clones()
    {

        return $this->hasMany(CharacterJumpClone::class,
            'character_id', 'character_id');

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 clear_redis_cache is not named in camelCase.
Open

    public function clear_redis_cache()
    {

        $redis_host = config('database.redis.default.host');
        $redis_port = config('database.redis.default.port');
Severity: Minor
Found in src/Commands/Seat/Cache/Clear.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 configure_api is not named in camelCase.
Open

    private function configure_api()
    {
        $this->registerApiAnnotationsPath([
            __DIR__ . '/Models',
        ]);
Severity: Minor
Found in src/EveapiServiceProvider.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 check_storage is not named in camelCase.
Open

    public function check_storage()
    {

        $this->line(' * Checking storage');

Severity: Minor
Found in src/Commands/Seat/Admin/Diagnose.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 solar_systems is not named in camelCase.
Open

    public function solar_systems()
    {
        return $this->hasMany(Planet::class, 'constellation_id', 'constellation_id');
    }
Severity: Minor
Found in src/Models/Sde/Constellation.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 solar_system is not named in camelCase.
Open

    public function solar_system()
    {
        return $this->belongsTo(SolarSystem::class, 'system_id', 'system_id')
            ->withDefault();
    }

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 calendar_events is not named in camelCase.
Open

    public function calendar_events()
    {

        return $this->hasMany(CharacterCalendarEvent::class,
            'character_id', 'character_id');

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 character_count is not named in camelCase.
Open

    public function character_count()
    {
        return $this->corporations->sum('member_count');
    }
Severity: Minor
Found in src/Models/Alliances/Alliance.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 solar_system is not named in camelCase.
Open

    public function solar_system()
    {
        return $this->belongsTo(SolarSystem::class, 'system_id', 'system_id');
    }
Severity: Minor
Found in src/Models/Sde/Planet.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

Severity
Category
Status
Source
Language