CORE-POS/IS4C

View on GitHub
fannie/cron/tasks/LastSoldTask.php

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method run has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function run()
    {
        $dbc = FannieDB::get($this->config->get('OP_DB'));
        $p_def = $dbc->tableDefinition('products');
        if (!isset($p_def['last_sold'])) {
Severity: Minor
Found in fannie/cron/tasks/LastSoldTask.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status