src/SchemaHookHandler.php
Method onLoadExtensionSchemaUpdates
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function onLoadExtensionSchemaUpdates( $updater ) {
$dir = dirname( __DIR__, 1 ) . '/sql';
$dbType = $updater->getDB()->getType();
if ( $dbType === 'mysql' || $dbType === 'sqlite' ) {