sroehrl/php-i18n-translate

View on GitHub
src/Formatter.php

Summary

Maintainability
A
1 hr
Test Coverage

Method formatWithIntl has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function formatWithIntl(string $what): Closure
    {
        switch ($what) {
            case 'number':
                $fmt = new NumberFormatter($this->locale, NumberFormatter::DECIMAL);
Severity: Minor
Found in src/Formatter.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status