seatplus/eveapi

View on GitHub
database/factories/CharacterRoleFactory.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 0 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Invalid

private array $roles_array = [
'Account_Take_1', 'Account_Take_2', 'Account_Take_3', 'Account_Take_4', 'Account_Take_5', 'Account_Take_6',
'Account_Take_7', 'Accountant', 'Auditor', 'Communications_Officer', 'Config_Equipment', 'Config_Starbase_Equipment',
'Container_Take_1', 'Container_Take_2', 'Container_Take_3', 'Container_Take_4', 'Container_Take_5', 'Container_Take_6',
'Container_Take_7', 'Contract_Manager', 'Diplomat', 'Director', 'Factory_Manager', 'Fitting_Manager', 'Hangar_Query_1',
Severity: Major
Found in database/factories/CharacterRoleFactory.php and 1 other location - About 3 hrs to fix
src/Models/Character/CharacterRole.php on lines 52..61

There are no issues that match your filters.

Category
Status