includes/filerepo/file/ForeignAPIFile.php
ForeignAPIFile
has 30 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ForeignAPIFile extends File {
/** @var bool */
private $mExists;
/** @var array */
private $mInfo;
Method transform
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function transform( $params, $flags = 0 ) {
if ( !$this->canRender() ) {
// show icon
return parent::transform( $params, $flags );
}