chippyash/Currency

View on GitHub
src/Chippyash/Currency/Builder/CurrencyRenderer.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method render has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public function render(BuilderInterface $builder): string
    {
        [$code, $name, $symbol, $displayFormat, $locale, $precision, $value] = array_values($builder->getResult());
        $tpl = file_get_contents(__DIR__ . '/CurrencyClass.tpl');
        $out = str_replace(
Severity: Minor
Found in src/Chippyash/Currency/Builder/CurrencyRenderer.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status