client/includes/RecentChanges/ChangeLineFormatter.php
File ChangeLineFormatter.php
has 288 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
declare( strict_types = 1 );
namespace Wikibase\Client\RecentChanges;
ChangeLineFormatter
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ChangeLineFormatter {
/**
* @var RepoLinker
*/
Method formatDataForEnhancedBlockLine
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array &$data,
ExternalChange $externalChange,
Title $title,
int $count,
Language $lang,
Method format
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ExternalChange $externalChange,
Title $title,
int $count,
string $flag,
Language $lang,
Method formatDataForEnhancedLine
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array &$data,
ExternalChange $externalChange,
Title $title,
int $count,
Language $lang,
Method formatCommonDataForEnhancedLine
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array &$data,
ExternalChange $externalChange,
Title $title,
Language $lang,
User $user