includes/revisiondelete/RevDelFileItem.php
Method getApiData
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getApiData( ApiResult $result ) {
$file = $this->file;
$user = $this->list->getUser();
$ret = [
'title' => $this->list->getPageName(),
Method setBits
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setBits( $bits ) {
# Queue the file op
# @todo FIXME: Move to LocalFile.php
if ( $this->isDeleted() ) {
if ( $bits & File::DELETED_FILE ) {