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" 2

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

  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. 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