$validFormat = in_array( $format, self::$outFormats );
if ( !$validFormat ) {
- $this->error( "--format set to an unrecognized format", 0 );
+ $this->error( "--format set to an unrecognized format" );
$error_out = true;
}
}
}
-$maintClass = "GetConfiguration";
+$maintClass = GetConfiguration::class;
require_once RUN_MAINTENANCE_IF_MAIN;