AOEpeople/StackFormation

View on GitHub
src/StackFormation/Preprocessor.php

Summary

Maintainability
A
1 hr
Test Coverage

Method injectFilecontent has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function injectFilecontent($jsonString, $basePath)
    {
        $jsonString = preg_replace_callback(
            '/(\s*)(.*){\s*"Fn::FileContent(Unpretty|TrimLines|Minify)?"\s*:\s*"(.+?)"\s*}/',
            function (array $matches) use ($basePath) {
Severity: Minor
Found in src/StackFormation/Preprocessor.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status