src/StackFormation/Preprocessor.php
Method injectFilecontent
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
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) {