src/Entity/Entry.php
File Entry.php
has 304 lines of code (exceeds 250 allowed). Consider refactoring. Wontfix
Wontfix
<?php
// SPDX-FileCopyrightText: 2023 /kbin contributors <https://kbin.pub/>
//
// SPDX-License-Identifier: AGPL-3.0-only
Entry
has 25 functions (exceeds 20 allowed). Consider refactoring. Invalid
Invalid
#[Entity(repositoryClass: EntryRepository::class)]
#[Index(columns: ['visibility', 'is_adult'], name: 'entry_visibility_adult_idx')]
#[Index(columns: ['visibility'], name: 'entry_visibility_idx')]
#[Index(columns: ['is_adult'], name: 'entry_adult_idx')]
#[Index(columns: ['ranking'], name: 'entry_ranking_idx')]
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $title,
?string $url,
?string $body,
Magazine $magazine,
User $user,