Showing 464 of 573 total issues
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
?string $body,
Magazine $magazine,
User $user,
bool $isAdult,
string $ip = null
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $email,
string $username,
string $password,
string $apProfileId = null,
string $apId = null
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'post_id')]
Post $post,
int $choice,
VoteCreate $voteCreate,
PostFactory $factory,
Method moderated
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PostRepository $repository,
PostFactory $factory,
RequestStack $request,
RateLimiterFactory $apiReadLimiter,
RateLimiterFactory $anonymousApiReadLimiter
Method getStats
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
?Magazine $magazine,
string $intervalStr,
?\DateTime $start,
?\DateTime $end,
?bool $onlyLocal
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
PostCreate $postCreate,
PostFactory $postFactory,
ValidatorInterface $validator,
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
string $tag,
EntityManagerInterface $entityManager,
MagazineFactory $factory,
Method unban
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
#[MapEntity(id: 'user_id')]
User $user,
MagazineUnban $magazineUnban,
Method uploadImage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
PostCreate $postCreate,
PostFactory $postFactory,
ValidatorInterface $validator,
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(string $body, ?Post $post, User $user, PostComment $parent = null, string $ip = null)
Method magazine
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Magazine $magazine,
?string $sortBy,
?string $time,
PostRepository $repository,
Request $request
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
string $tag,
EntityManagerInterface $entityManager,
MagazineFactory $factory,
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Magazine $magazine,
User $user,
User $bannedBy,
string $reason = null,
\DateTimeInterface $expiredAt = null
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(mapping: ['magazine_name' => 'name'])]
Magazine $magazine,
#[MapEntity(id: 'entry_id')]
Entry $entry,
#[MapEntity(id: 'comment_id')]
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'magazine_id')]
Magazine $magazine,
#[MapEntity(id: 'badge_id')]
Badge $badge,
EntryBadgeDelete $entryBadgeDelete,
Method subscribed
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PostRepository $repository,
PostFactory $factory,
RequestStack $request,
RateLimiterFactory $apiReadLimiter,
RateLimiterFactory $anonymousApiReadLimiter
Method getStats
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
?Magazine $magazine,
string $intervalStr,
?\DateTime $start,
?\DateTime $end,
?bool $onlyLocal
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
#[MapEntity(id: 'entry_id')]
Entry $entry,
EntryEdit $entryEdit,
EntryFactory $entryFactory,
ValidatorInterface $validator,
Method create
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
MagazineSmallResponseDto $magazine,
UserSmallResponseDto $moderator,
\DateTimeImmutable $createdAt,
string $type,
MagazineBanResponseDto $subject = null,
Method favourited
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PostRepository $repository,
PostFactory $factory,
RequestStack $request,
RateLimiterFactory $apiReadLimiter,
RateLimiterFactory $anonymousApiReadLimiter