murdercode/laravel-shortcode-plus

View on GitHub
src/Parsers/Image.php

Summary

Maintainability
A
1 hr
Test Coverage
F
16%

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

    public static function parse(string $content): string
    {

        return preg_replace_callback(
            '/\[image id="(\d+)"(?:\scaption="(.*?)")?(?:(.*?))\]/',
Severity: Minor
Found in src/Parsers/Image.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status