src/CoreBundle/ApiResource/CalendarEvent.php
The method __construct has 18 parameters. Consider reducing the number of parameters to less than 10. Open
Open
public function __construct(
#[Groups(['calendar_event:read'])]
public ?string $id = null,
#[Groups(['calendar_event:read'])]
public ?string $title = null,
- Exclude checks
Missing class doc comment Open
Open
class CalendarEvent extends AbstractResource
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* @var Collection<int, AgendaReminder>|null
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function setType(?string $type): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function __construct(
- Exclude checks
Missing function doc comment Open
Open
public function getType(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
*/
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public ?string $id = null,
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $content = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public bool $collective = false,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $invitationType = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public int $subscriptionVisibility = CCalendarEvent::SUBSCRIPTION_VISIBILITY_NO,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $subscriptionItemTitle = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $title = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?array $resourceLinkListFromEntity = null,
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $color = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?ResourceNode $resourceNode = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $url = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public int $maxAttendees = 0,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?DateTime $startDate = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public bool $allDay = false,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?Collection $reminders = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $type = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $id = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?int $subscriptionItemId = null,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?DateTime $endDate = null,
- Exclude checks