Your project gitignore file should not contain user-specific files

More information: https://insight.symfony.com/what-we-analyse/git.user_specific_ignored_file

in .gitignore, line 1
  1. .idea
    .idea is user-specific and should not appear in a project .gitignore. Consider adding it to the user global .gitignore instead.
    Time to fix: about 15 minutes
    Read doc Open Issue Permalink Copy Prompt
    Last edited by Luc Sanchez
  2. /vendor/
  3. /composer.lock
  4. /.php-cs-fixer.cache
  5. /.phpunit.cache/

Interfaces names should end with "Interface" 4

More information: https://insight.symfony.com/what-we-analyse/php.interface_has_no_interface_suffix

  1. use Ical\Exceptions\IcalendarException;
  2. /**
  3. * Port writing a calendar in a file format, e.g. the iCalendar text format of RFC 5545.
  4. */
  5. interface CalendarSerializer
    Interface {{ name }} should be named {{ name }}Interface for better clarity.
    Last edited by luc
  6. {
  7. /**
  8. * @throws IcalendarException when the document cannot be written, e.g. an event is not valid or a text is not UTF-8
  9. */
  10. public function serialize(CalendarDocument $document): string;
  1. /**
  2. * Port giving the current time, used for DTSTAMP when the event does not set it.
  3. * Same signature as PSR-20 ClockInterface::now(), without depending on psr/clock.
  4. */
  5. interface Clock
    Interface {{ name }} should be named {{ name }}Interface for better clarity.
    Last edited by luc
  6. {
  7. public function now(): \DateTimeImmutable;
  8. }
  1. use Ical\Exceptions\IcalendarException;
  2. /**
  3. * Port building the VTIMEZONE of a TZID from a timezone database, for the events using it.
  4. */
  5. interface TimezoneDefinitionProvider
    Interface {{ name }} should be named {{ name }}Interface for better clarity.
    Last edited by luc
  6. {
  7. /**
  8. * @param int $from first instant (Unix timestamp) rendered with the timezone
  9. * @param int|null $to last instant, null when an event recurs forever: the rules still applied then recur without end
  10. *
  1. namespace Ical\Application;
  2. /**
  3. * Port creating the UID of an event that has none (RFC 5545 §3.8.4.7).
  4. */
  5. interface UidGenerator
    Interface {{ name }} should be named {{ name }}Interface for better clarity.
    Last edited by luc
  6. {
  7. /**
  8. * A globally unique identifier, e.g. "<random>@$domain".
  9. *
  10. * @param string $domain the domain of the organizer, or one derived from the PRODID