SU-SWS/stanford_migrate

View on GitHub

Showing 62 of 136 total issues

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Line exceeds 80 characters; contains 108 characters
Open

  // Oauth2 authentication adds a token query parameter into the data urls that changes frequently. Since it
Severity: Minor
Found in stanford_migrate.module by phpcodesniffer

Missing parameter comment
Open

   * @param \Drupal\migrate\Plugin\MigrationPluginManagerInterface $migrationPluginManager
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Missing parameter comment
Open

   * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Expected 1 blank line before function; 2 found
Open

  public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected MigrationPluginManagerInterface $migrationPluginManager, LoggerChannelFactoryInterface $logger_factory) {
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
Open

  if ($variables['element']['#third_party_settings']['stanford_migrate']['readonly'] ?? false) {
Severity: Minor
Found in stanford_migrate.module by phpcodesniffer

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Line exceeds 80 characters; contains 117 characters
Open

  // In case the list of urls changes dynamically, lets just remove it from the source data to avoid unnecessary hash
Severity: Minor
Found in stanford_migrate.module by phpcodesniffer

Variable $width is undefined.
Open

      [$width, $height] = $size;

Missing parameter comment
Open

   * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Variable $type is undefined.
Open

          if ($type == $entity->getEntityTypeId()) {
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must start with a capital letter
Open

   * {@inheritDoc}
Severity: Minor
Found in src/StanfordMigrate.php by phpcodesniffer

Doc comment short description must end with a full stop
Open

   * {@inheritDoc}
Severity
Category
Status
Source
Language