mrcnpdlk/unoconv-api

View on GitHub
src/Enum/FormatType.php

Summary

Maintainability
A
0 mins
Test Coverage

Method getExtension has 100 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public function getExtension(): string
    {
        $tMap = [
            self::BIB       => 'bib',
            self::DOC       => 'doc',
Severity: Major
Found in src/Enum/FormatType.php - About 4 hrs to fix

    The method getExtension() has 104 lines of code. Current threshold is set to 100. Avoid really long methods.
    Open

        public function getExtension(): string
        {
            $tMap = [
                self::BIB       => 'bib',
                self::DOC       => 'doc',
    Severity: Minor
    Found in src/Enum/FormatType.php by phpmd

    There are no issues that match your filters.

    Category
    Status