TeaThemeOptions/TeaThemeOptions

View on GitHub
src/Core/Field/Background.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method prepareField has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function prepareField($content, $details = array())
    {
        //Build details
        $post = isset($details['post']) ? $details['post'] : 0;
        $prefix = isset($details['prefix']) ? $details['prefix'] : '';
Severity: Minor
Found in src/Core/Field/Background.php - About 1 hr to fix

    Method getBackgroundDetails has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getBackgroundDetails()
        {
            return array(
                'position'  => array(
                    '0 0'           => OlympusZeus::translate('Left top'),
    Severity: Minor
    Found in src/Core/Field/Background.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status