Showing 994 of 1,238 total issues
Consider simplifying this complex logical expression. Open
Open
if (helpers_core.isObject(value)) {
t = +value.top || 0;
r = +value.right || 0;
b = +value.bottom || 0;
l = +value.left || 0;
Consider simplifying this complex logical expression. Open
Open
if (i === me.zeroLineIndex && options.offset === offsetGridLines) {
// Draw the first index specially
lineWidth = gridLines.zeroLineWidth;
lineColor = gridLines.zeroLineColor;
borderDash = gridLines.zeroLineBorderDash || [];
Consider simplifying this complex logical expression. Open
Open
if ( $title && $type === 'addition' && $title->exists() ) {
// The message has for some reason dropped out from cache
// or, perhaps it is being reused. In any case treat it
// as a change for display, so the admin can see if
// action is needed and let the message be processed.
Function determineLimits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function determineLimits(angle, pos, size, min, max) {
Function determineUnitForFormatting
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function determineUnitForFormatting(scale, numTicks, minUnit, min, max) {
Function getMessages
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
getMessages: function ( messageGroup, language, offset, limit, filter ) {
Function createEvent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createEvent(type, chart, x, y, nativeEvent) {
Function measureText
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
helpers$1.measureText = function(ctx, data, gc, longest, string) {
Function computeOffsets
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function computeOffsets(table, ticks, min, max, options) {
Function drawArea
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function drawArea(ctx, curve0, curve1, len0, len1) {
Method progressCallback
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function progressCallback( Title $previous, Title $new, Status $status, int $total, int $processed ): void {
Method shouldAddAnchor
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Language $sourceLanguage,
Language $targetLanguage,
?string $headingText,
?Message $msg,
bool $isInline
Method getPageTextForRendering
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Language $sourceLanguage,
Language $targetLanguage,
bool $wrapUntranslated,
array $messages = [],
?Parser $parser = null
Method getTextForRendering
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
?Message $msg,
Language $sourceLanguage,
Language $targetLanguage,
bool $wrapUntranslated,
?Parser $parser = null
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Language $contentLanguage,
LanguageFactory $languageFactory,
LanguageNameUtils $languageNameUtils,
HookRunner $hookRunner,
Config $config
Method tpSyntaxCheck
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
RenderedRevision $renderedRevision,
UserIdentity $user,
CommentStoreComment $summary,
$flags,
Status $hookStatus
Method onParserGetVariableValueSwitch
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Parser $parser,
array &$variableCache,
string $magicWordId,
?string &$ret,
PPFrame $frame
Method showSearch
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $search,
string $count,
string $facets,
string $results,
int $total
Method getLanguageExportActions
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $groupId,
array $requestedLanguages,
array $alwaysExportLanguages,
int $exportThreshold = 0,
int $removalThreshold = 0
Method showRenames
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
MessageGroup $group,
MessageSourceChange $sourceChanges,
OutputPage $out,
string $language,
int &$limit