Skip to content
Snippets Groups Projects
Verified Commit 19bd1484 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3477668 by quietone, lavanyatalwar, daffie: Fix...

Issue #3477668 by quietone, lavanyatalwar, daffie: Fix Drupal.Commenting.VariableComment.Missing in non-tests
parent 2003cb63
No related branches found
No related tags found
8 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!10786Issue #3490579 by shalini_jha, mstrelan: Add void return to all views...,!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!2062Issue #3246454: Add weekly granularity to views date sort,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!617Issue #3043725: Provide a Entity Handler for user cancelation
Pipeline #373083 passed with warnings
Pipeline: drupal

#373087

    Pipeline: drupal

    #373084

      Showing
      with 119 additions and 1 deletion
      ...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
      */ */
      class Timer { class Timer {
      /**
      * An associative array of timers.
      *
      * @var array
      */
      protected static $timers = []; protected static $timers = [];
      /** /**
      ......
      ...@@ -53,6 +53,11 @@ class DateFormatter implements DateFormatterInterface { ...@@ -53,6 +53,11 @@ class DateFormatter implements DateFormatterInterface {
      */ */
      protected $requestStack; protected $requestStack;
      /**
      * The available date formats.
      *
      * @var array
      */
      protected $dateFormats = []; protected $dateFormats = [];
      /** /**
      ......
      ...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
      )] )]
      class EntityChangedConstraint extends SymfonyConstraint { class EntityChangedConstraint extends SymfonyConstraint {
      /**
      * The default violation message.
      */
      public $message = 'The content has either been modified by another user, or you have already submitted modifications. As a result, your changes cannot be saved.'; public $message = 'The content has either been modified by another user, or you have already submitted modifications. As a result, your changes cannot be saved.';
      } }
      ...@@ -16,7 +16,14 @@ ...@@ -16,7 +16,14 @@
      )] )]
      class EntityUntranslatableFieldsConstraint extends SymfonyConstraint { class EntityUntranslatableFieldsConstraint extends SymfonyConstraint {
      /**
      * The message when updating a field but not the current revision.
      */
      public $defaultRevisionMessage = 'Non-translatable fields can only be changed when updating the current revision.'; public $defaultRevisionMessage = 'Non-translatable fields can only be changed when updating the current revision.';
      /**
      * The message when updating a field but not the original language.
      */
      public $defaultTranslationMessage = 'Non-translatable fields can only be changed when updating the original language.'; public $defaultTranslationMessage = 'Non-translatable fields can only be changed when updating the original language.';
      } }
      ...@@ -14,8 +14,14 @@ ...@@ -14,8 +14,14 @@
      */ */
      final class ConfigConfigurator { final class ConfigConfigurator {
      /**
      * The configuration directory for the recipe.
      */
      public readonly ?string $recipeConfigDirectory; public readonly ?string $recipeConfigDirectory;
      /**
      * Indicates how the shipped and active config are compared.
      */
      private readonly bool|array $strict; private readonly bool|array $strict;
      /** /**
      ......
      ...@@ -64,7 +64,7 @@ protected function buildRecipeInputForm(Recipe $recipe): array { ...@@ -64,7 +64,7 @@ protected function buildRecipeInputForm(Recipe $recipe): array {
      * *
      * @var array * @var array
      */ */
      // phpcs:ignore DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable // phpcs:ignore DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable, Drupal.Commenting.VariableComment.Missing
      public array $form = []; public array $form = [];
      /** /**
      ......
      ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
      )] )]
      class PrimitiveTypeConstraint extends SymfonyConstraint { class PrimitiveTypeConstraint extends SymfonyConstraint {
      /**
      * The default violation message.
      */
      public $message = 'This value should be of the correct primitive type.'; public $message = 'This value should be of the correct primitive type.';
      } }
      ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
      )] )]
      class UniqueFieldConstraint extends SymfonyConstraint { class UniqueFieldConstraint extends SymfonyConstraint {
      /**
      * The default violation message.
      */
      public $message = 'A @entity_type with @field_name %value already exists.'; public $message = 'A @entity_type with @field_name %value already exists.';
      /** /**
      ......
      ...@@ -15,8 +15,19 @@ ...@@ -15,8 +15,19 @@
      )] )]
      class ModerationStateConstraint extends SymfonyConstraint { class ModerationStateConstraint extends SymfonyConstraint {
      /**
      * The default violation message.
      */
      public $message = 'Invalid state transition from %from to %to'; public $message = 'Invalid state transition from %from to %to';
      /**
      * The violation message when there is an invalid stated.
      */
      public $invalidStateMessage = 'State %state does not exist on %workflow workflow'; public $invalidStateMessage = 'State %state does not exist on %workflow workflow';
      /**
      * The violation message when there is an invalid transition.
      */
      public $invalidTransitionAccess = 'You do not have access to transition from %original_state to %new_state'; public $invalidTransitionAccess = 'You do not have access to transition from %original_state to %new_state';
      } }
      ...@@ -16,6 +16,11 @@ ...@@ -16,6 +16,11 @@
      )] )]
      class FileUriUnique extends UniqueFieldConstraint { class FileUriUnique extends UniqueFieldConstraint {
      /**
      * The error message.
      *
      * @var string
      */
      public $message = 'The file %value already exists. Enter a unique file URI.'; public $message = 'The file %value already exists. Enter a unique file URI.';
      /** /**
      ......
      ...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
      )] )]
      class LinkAccessConstraint extends SymfonyConstraint { class LinkAccessConstraint extends SymfonyConstraint {
      /**
      * The error message.
      *
      * @var string
      */
      public $message = "The path '@uri' is inaccessible."; public $message = "The path '@uri' is inaccessible.";
      } }
      ...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
      )] )]
      class LinkExternalProtocolsConstraint extends SymfonyConstraint { class LinkExternalProtocolsConstraint extends SymfonyConstraint {
      /**
      * The error message.
      *
      * @var string
      */
      public $message = "The path '@uri' is invalid."; public $message = "The path '@uri' is invalid.";
      } }
      ...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
      )] )]
      class LinkNotExistingInternalConstraint extends SymfonyConstraint { class LinkNotExistingInternalConstraint extends SymfonyConstraint {
      /**
      * The error message.
      *
      * @var string
      */
      public $message = "The path '@uri' is invalid."; public $message = "The path '@uri' is invalid.";
      } }
      ...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
      )] )]
      class LinkTypeConstraint extends SymfonyConstraint { class LinkTypeConstraint extends SymfonyConstraint {
      /**
      * The error message.
      *
      * @var string
      */
      public $message = "The path '@uri' is invalid."; public $message = "The path '@uri' is invalid.";
      } }
      ...@@ -15,9 +15,24 @@ ...@@ -15,9 +15,24 @@
      )] )]
      class MenuSettingsConstraint extends SymfonyConstraint { class MenuSettingsConstraint extends SymfonyConstraint {
      /**
      * The default violation message.
      */
      public $message = 'You can only change the menu settings for the <em>published</em> version of this content.'; public $message = 'You can only change the menu settings for the <em>published</em> version of this content.';
      /**
      * The violation message when the weight cannot be changed.
      */
      public $messageWeight = 'You can only change the menu link weight for the <em>published</em> version of this content.'; public $messageWeight = 'You can only change the menu link weight for the <em>published</em> version of this content.';
      /**
      * The violation message when changing the parent for a unpublished content.
      */
      public $messageParent = 'You can only change the parent menu link for the <em>published</em> version of this content.'; public $messageParent = 'You can only change the parent menu link for the <em>published</em> version of this content.';
      /**
      * The violation message when removing a menu link for unpublished content.
      */
      public $messageRemove = 'You can only remove the menu link in the <em>published</em> version of this content.'; public $messageRemove = 'You can only remove the menu link in the <em>published</em> version of this content.';
      } }
      ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
      )] )]
      class PathAliasConstraint extends SymfonyConstraint { class PathAliasConstraint extends SymfonyConstraint {
      /**
      * The default violation message.
      */
      public $message = 'You can only change the URL alias for the <em>published</em> version of this content.'; public $message = 'You can only change the URL alias for the <em>published</em> version of this content.';
      } }
      ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
      )] )]
      class UserMailUnique extends UniqueFieldConstraint { class UserMailUnique extends UniqueFieldConstraint {
      /**
      * The default violation message.
      */
      public $message = 'The email address %value is already taken.'; public $message = 'The email address %value is already taken.';
      } }
      ...@@ -15,11 +15,34 @@ ...@@ -15,11 +15,34 @@
      )] )]
      class UserNameConstraint extends SymfonyConstraint { class UserNameConstraint extends SymfonyConstraint {
      /**
      * The violation message when there is no username.
      */
      public $emptyMessage = 'You must enter a username.'; public $emptyMessage = 'You must enter a username.';
      /**
      * The violation message when the username begins with whitespace.
      */
      public $spaceBeginMessage = 'The username cannot begin with a space.'; public $spaceBeginMessage = 'The username cannot begin with a space.';
      /**
      * The violation message when the username ends with whitespace.
      */
      public $spaceEndMessage = 'The username cannot end with a space.'; public $spaceEndMessage = 'The username cannot end with a space.';
      /**
      * The violation message when the username has consecutive whitespace.
      */
      public $multipleSpacesMessage = 'The username cannot contain multiple spaces in a row.'; public $multipleSpacesMessage = 'The username cannot contain multiple spaces in a row.';
      /**
      * The violation message when the username uses an invalid character.
      */
      public $illegalMessage = 'The username contains an illegal character.'; public $illegalMessage = 'The username contains an illegal character.';
      /**
      * The violation message when the username length exceeds the maximum allowed.
      */
      public $tooLongMessage = 'The username %name is too long: it must be %max characters or less.'; public $tooLongMessage = 'The username %name is too long: it must be %max characters or less.';
      } }
      ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
      )] )]
      class UserNameUnique extends UniqueFieldConstraint { class UserNameUnique extends UniqueFieldConstraint {
      /**
      * The default violation message.
      */
      public $message = 'The username %value is already taken.'; public $message = 'The username %value is already taken.';
      } }
      ...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
      #[ViewsFilter("user_name")] #[ViewsFilter("user_name")]
      class Name extends InOperator { class Name extends InOperator {
      /**
      * This filter is always considered multiple-valued.
      */
      protected $alwaysMultiple = TRUE; protected $alwaysMultiple = TRUE;
      /** /**
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment