wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/maintenance/changePropertyDataType.php

Summary

Maintainability
A
1 hr
Test Coverage

Method execute has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function execute() {
        if ( !WikibaseSettings::isRepoEnabled() ) {
            $this->fatalError( "You need to have Wikibase enabled in order to use this maintenance script!\n" );
        }
        if ( !in_array( Property::ENTITY_TYPE, WikibaseRepo::getLocalEntitySource()->getEntityTypes() ) ) {
Severity: Minor
Found in repo/maintenance/changePropertyDataType.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status