Verified Commit 8f222442 authored by Dave Long's avatar Dave Long
Browse files

Issue #3123060 by Spokje, quietone, longwave, ankithashetty, daffie, jungle,...

Issue #3123060 by Spokje, quietone, longwave, ankithashetty, daffie, jungle, xjm: Enable 'Drupal.Commenting.DocComment.ShortSingleLine' coding standard
parent 510c9150
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -186,6 +186,8 @@ class FormState implements FormStateInterface {
  protected $requestMethod = 'GET';

  /**
   * Determines if the unprocessed form structure is cached.
   *
   * If set to TRUE the original, unprocessed form structure will be cached,
   * which allows the entire form to be rebuilt from cache. A typical form
   * workflow involves two page requests; first, a form is built and rendered
+1 −2
Original line number Diff line number Diff line
@@ -54,8 +54,7 @@ class EntityReferenceFormatterTest extends EntityKernelTestBase {
  protected $referencedEntity;

  /**
   * The entity that is not yet saved to its persistent storage to be referenced
   * in this test.
   * An entity that is not yet saved to its persistent storage.
   *
   * @var \Drupal\Core\Entity\EntityInterface
   */
+1 −2
Original line number Diff line number Diff line
@@ -205,8 +205,7 @@ class Migration extends PluginBase implements MigrationInterface, RequirementsIn
  protected $destinationIds = [];

  /**
   * Specify value of source_row_status for current map row. Usually set by
   * MigrateFieldHandler implementations.
   * The source_row_status for the current map row.
   *
   * @var int
   */
+6 −4
Original line number Diff line number Diff line
@@ -87,16 +87,18 @@ abstract class EntityResourceTestBase extends ResourceTestBase {
  protected static $patchProtectedFieldNames;

  /**
   * The fields that need a different (random) value for each new entity created
   * by a POST request.
   * A list of fields that need a unique value.
   *
   * This is for each new each entity created by a POST request.
   *
   * @var string[]
   */
  protected static $uniqueFieldNames = [];

  /**
   * Optionally specify which field is the 'label' field. Some entities do not
   * specify a 'label' entity key. For example: User.
   * Optionally specify which field is the 'label' field.
   *
   * Some entities do not specify a 'label' entity key. For example: User.
   *
   * @see ::getInvalidNormalizedEntityToCreate
   *
+1 −2
Original line number Diff line number Diff line
@@ -93,8 +93,7 @@ public function destination() {
  }

  /**
   * Returns a sample response with some early rendering in
   * common_test_page_attachments.
   * Returns a response with early rendering in common_test_page_attachments.
   *
   * @return \Symfony\Component\HttpFoundation\Response
   *   A new Response object.
Loading