wikimedia/mediawiki-extensions-WikiLove

View on GitHub
includes/SchemaHooks.php

Summary

Maintainability
A
1 hr
Test Coverage

Method onLoadExtensionSchemaUpdates has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function onLoadExtensionSchemaUpdates( $updater ) {
        $dbType = $updater->getDB()->getType();
        $path = dirname( __DIR__ ) . '/patches';
        if ( $dbType === 'mysql' ) {
            $updater->addExtensionTable( 'wikilove_log',
Severity: Minor
Found in includes/SchemaHooks.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status