Verified Commit 37e0a7f0 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3508410 by quietone, borisson_: Fix...

Issue #3508410 by quietone, borisson_: Fix 'Drupal.Commenting.DocComment.ShortNotCapital' coding standard except for callbacks
parent e1876584
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -56200,6 +56200,12 @@
	'count' => 1,
	'path' => __DIR__ . '/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php',
];
$ignoreErrors[] = [
	'message' => '#^@covers value \\\\Drupal\\\\Core\\\\Entity\\\\Sql\\\\SqlContentEntityStorageSchema\\:\\:onEntityTypeUpdate\\(\\) references an invalid method\\.$#',
	'identifier' => 'phpunit.coversMethod',
	'count' => 1,
	'path' => __DIR__ . '/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php',
];
$ignoreErrors[] = [
	'message' => '#^Method Drupal\\\\Tests\\\\Core\\\\Entity\\\\Sql\\\\SqlContentEntityStorageSchemaTest\\:\\:providerSchemaCastValue\\(\\) has no return type specified\\.$#',
	'identifier' => 'missingType.return',
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ class DatabaseBackend implements CacheBackendInterface {
  const DEFAULT_MAX_ROWS = 5000;

  /**
   * -1 means infinite allows numbers of rows for the cache backend.
   * Indicates that an infinite number of rows is allowed for the cache backend.
   */
  const MAXIMUM_NONE = -1;

+2 −2
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ function content_translation_field_sync_widget(FieldDefinitionInterface $field,
}

/**
 * (proxied) Implements hook_form_FORM_ID_alter().
 * Injects translation settings into the content language settings form.
 */
function _content_translation_form_language_content_settings_form_alter(array &$form, FormStateInterface $form_state): void {
  // Inject into the content language settings the translation settings if the
@@ -189,7 +189,7 @@ function _content_translation_is_field_translatability_configurable(EntityTypeIn
}

/**
 * (proxied) Implements hook_preprocess_HOOK().
 * Injects translation settings into the language content settings table.
 */
function _content_translation_preprocess_language_content_settings_table(&$variables): void {
  // Alter the 'build' variable injecting the translation settings if the user
+3 −1
Original line number Diff line number Diff line
@@ -131,7 +131,9 @@ public function testLabelValidation(): void {
  }

  /**
   * `image_upload.status = TRUE` must cause additional keys to be required.
   * Test validation when dynamically changing image upload settings.
   *
   * Additional keys are required when image_upload.status is TRUE.
   */
  public function testImageUploadSettingsAreDynamicallyRequired(): void {
    // When image uploads are disabled, no other key-value pairs are needed.
+1 −1
Original line number Diff line number Diff line
@@ -898,7 +898,7 @@ function _locale_invalidate_js($langcode = NULL) {
}

/**
 * (Re-)Creates the JavaScript translation file for a language.
 * Creates or recreates the JavaScript translation file for a language.
 *
 * @param string|null $langcode
 *   (optional) The language that the translation file should be (re)created
Loading