repo/maintenance/changePropertyDataType.php
Method execute
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
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() ) ) {