felixarntz/plugin-lib

View on GitHub
src/translations/translations-field-manager.php

Summary

Maintainability
A
1 hr
Test Coverage

Method init has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        protected function init() {
            $this->translations = array(
                'field_required_indicator'               => $this->_xtranslate( '(required)', 'field required indicator', 'textdomain' ),
                /* translators: %s: field label */
                'field_empty_required'                   => $this->__translate( 'No value was given for the required field “%s”.', 'textdomain' ),
Severity: Minor
Found in src/translations/translations-field-manager.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status