Showing 103 of 440 total issues
Method handle
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
parent::handle();
CorporationWalletBalance::where('corporation_id', $this->getCorporationId())->get()
Method handle
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
parent::handle();
// get last known mail ID to detect when parity has been reached
Method handle
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$contract = ContractDetail::find($this->contract_id);
Method handle
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$contract = ContractDetail::find($this->contract_id);
if ($contract->type == 'courier')
Method handle
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle(EsiBase $job, Closure $next): void
{
// in case the job does not require specific scopes - forward
if ($job->getScope() == '') {
logger()->debug(
Method handle
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$contract = ContractDetail::find($this->contract_id);
// this job can only work with auction contracts
Method handle
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
parent::handle();
CorporationStarbase::where('corporation_id', $this->getCorporationId())
Method explodeMap
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function explodeMap()
{
// extract regions
DB::table('regions')->truncate();
DB::table('regions')
Method handle
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
// the time only needs to be loaded once instead of every time in the loop
$now = carbon();
Method handle
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
// collect optional kills ID from arguments
$killmail_ids = $this->argument('killmail_ids') ?: [];
Method handle
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$contract = ContractDetail::find($this->contract_id);
Method handle
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
parent::handle();
$response = $this->retrieve([
Method fire
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function fire(): void
{
$this->addPublicJobs();
if (! is_null($this->token))
Method fire
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function fire(): void
{
$this->addPublicJobs();
if (! is_null($this->token))
Method fire
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function fire(): void
{
$this->addPublicJobs();
if (! is_null($this->token))
Method customValidationMessages
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function customValidationMessages()
{
return [
'0.integer' => self::INTEGER_VALIDATION_MESSAGE,
'0.min' => self::MIN_VALIDATION_MESSAGE,
Method handle
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
parent::handle();
$structure_batch = new StructureBatch();
Method handle
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$this->existing_entity_ids = UniverseName::select('entity_id')
->distinct()
Method addAuthenticatedJobs
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function addAuthenticatedJobs()
{
$this->addAuthenticatedJob(new Roles($this->token));
$this->addAuthenticatedJob(new Titles($this->token));
$this->addAuthenticatedJob(new Clones($this->token));
Method customValidationMessages
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function customValidationMessages()
{
return [
'0.integer' => self::INTEGER_VALIDATION_MESSAGE,
'0.between' => self::BETWEEN_VALIDATION_MESSAGE,