Showing 889 of 1,485 total issues
Method getDefault
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function getDefault(string $event, Webhook $webhook, $detail, User $initiator, int $initiatedTime): self
Method sendNotificationToUserIds
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function sendNotificationToUserIds(string $notification, array $userIds, User $initiator, string|Loggable $detail, Entity $relatedModel): void
Method applyNegatableWhere
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function applyNegatableWhere(EloquentBuilder $query, bool $negated, string $column, string $operator, mixed $value): void
Method replaceValueInTable
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Connection $db,
string $table,
string $column,
string $oldUrl,
string $newUrl
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected TagRepo $tagRepo,
protected ImageRepo $imageRepo,
protected ReferenceUpdater $referenceUpdater,
protected ReferenceStore $referenceStore,
protected PageQueries $pageQueries,
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected BookshelfRepo $shelfRepo,
protected BookshelfQueries $queries,
protected BookQueries $bookQueries,
protected ShelfContext $shelfContext,
protected ReferenceFetcher $referenceFetcher,
Function buildEditorUI
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function buildEditorUI(container: HTMLElement, element: HTMLElement, scrollContainer: HTMLElement, editor: LexicalEditor, options: Record<string, any>): EditorUiContext {
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(int $id, int $sort, ?int $parentChapterId, string $type, int $parentBookId)
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public BookshelfQueries $shelves,
public BookQueries $books,
public ChapterQueries $chapters,
public PageQueries $pages,
public PageRevisionQueries $revisions,
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected ShelfContext $shelfContext,
protected BookRepo $bookRepo,
protected BookQueries $queries,
protected BookshelfQueries $shelfQueries,
protected ReferenceFetcher $referenceFetcher,
Method isSortChangePermissible
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function isSortChangePermissible(BookSortMapItem $sortMapItem, BookChild $model, ?Entity $currentParent, ?Entity $newBook, ?Entity $newChapter): bool
Function $wrapNodesImpl
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
selection: BaseSelection,
nodes: LexicalNode[],
nodesLength: number,
createElement: () => ElementNode,
wrappingElement: null | ElementNode = null,
Function setLocalStateFocus
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
provider: Provider,
name: string,
color: string,
focusing: boolean,
awarenessData: object,
Function initLocalState
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
provider: Provider,
name: string,
color: string,
focusing: boolean,
awarenessData: object,
Function createCursorSelection
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
cursor: Cursor,
anchorKey: NodeKey,
anchorOffset: number,
focusKey: NodeKey,
focusOffset: number,
Function setNativeSelectionWithPaths
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
rootElement: Node,
anchorPath: number[],
anchorOffset: number,
focusPath: number[],
focusOffset: number,
Function createDOMRange
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
editor: LexicalEditor,
anchorNode: LexicalNode,
_anchorOffset: number,
focusNode: LexicalNode,
_focusOffset: number,
Function $insertTableRow
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
tableNode: TableNode,
targetIndex: number,
shouldInsertAfter = true,
rowCount: number,
table: TableDOMTable,
Function $handleArrowKey
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
editor: LexicalEditor,
event: KeyboardEvent,
direction: Direction,
tableNode: TableNode,
tableObserver: TableObserver,
Function getChangeType
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
prevEditorState: null | EditorState,
nextEditorState: EditorState,
dirtyLeavesSet: Set<NodeKey>,
dirtyElementsSet: Map<NodeKey, IntentionallyMarkedAsDirtyElement>,
isComposing: boolean,