IndyIndyIndy/placeholder_images

View on GitHub
Classes/Utility/InlineControlButtonUtility.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getPlaceholderButton has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function getPlaceholderButton($inlineData, $nameObject, $objectPrefix, Folder $folder) : string
    {
        $buttonText = self::getTranslation('tx_placeholderimages.button.text');
        $buttonSubmitText = self::getTranslation('tx_placeholderimages.button.submit');
        $widthText = self::getTranslation('tx_placeholderimages.image.width');
Severity: Minor
Found in Classes/Utility/InlineControlButtonUtility.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status