maintenance/UpdateSearchIndexConfig.php
Method execute
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute() {
// Use the default connection, rather than the one specified
// by --cluster, as we are collecting cluster independent metadata.
// Also our script specific `all` cluster fails self::getConnection.
$conn = Connection::getPool( $this->getSearchConfig() );