wikimedia/mediawiki-core

View on GitHub
includes/language/converters/BanConverter.php

Summary

Maintainability
F
6 days
Test Coverage

Method getIcuRules has 910 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function getIcuRules() {
        $rules = [];

        # transliteration rules developed for Palmleaf.org
        $rules['ban-x-palmleaf'] = <<<'EOF'
Severity: Major
Found in includes/language/converters/BanConverter.php - About 4 days to fix

    File BanConverter.php has 949 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
    Severity: Major
    Found in includes/language/converters/BanConverter.php - About 2 days to fix

      There are no issues that match your filters.

      Category
      Status