CORE-POS/IS4C

View on GitHub
fannie/item/TaxReview.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

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

    protected function get_id_view()
    {
        $sort = FormLib::get('sort');
        $sort = $sort == 'Newest' ? 'MAX(created)' : 'SUM(auto_par)';
        $exc = FormLib::get('exc');
Severity: Minor
Found in fannie/item/TaxReview.php - About 1 hr to fix

    Method get_view has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function get_view()
        {
            $depts = new DepartmentsModel($this->connection);
            $dOpts = $depts->toOptions();
            $this->addScript('../src/javascript/chosen/chosen.jquery.min.js');
    Severity: Minor
    Found in fannie/item/TaxReview.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status