Unverified Commit 54124628 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3138766 by mohrerao, longwave, sja112, jameszhang023, Lal_,...

Issue #3138766 by mohrerao, longwave, sja112, jameszhang023, Lal_, ravi.shankar, jungle, xjm: Fix "Don't" relevant typos in core
parent 7cb77c26
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
      "modules/system/tests/logo.svgz",
      "node_modules/*",
      "profiles/demo_umami/modules/demo_umami_content/default_content/languages/es/**/*",
      "tests/Drupal/Tests/Component/Annotation/Doctrine/**",
      "themes/bartik/color/preview.html",
      "COPYRIGHT.txt",
      "MAINTAINERS.txt",
+0 −5
Original line number Diff line number Diff line
@@ -47,8 +47,6 @@ anded
andif
anding
annot
annotationwithconstants
annots
anonyme
anonymize
anothermodule
@@ -290,7 +288,6 @@ classmap
classmaps
classname
classtype
classwithconstants
classy's
cldr
clearfix
@@ -402,7 +399,6 @@ daycounter
dblog
dbtng
dburl
dcom
ddblock
ddev
deckard
@@ -473,7 +469,6 @@ docroot
docroots
docx
dolore
dont
doubleclick
downcasting
downlevel
+3 −3
Original line number Diff line number Diff line
@@ -67,10 +67,10 @@ public function setUp(): void {
    $this->savePaintings([
      ['colors' => ['red'], 'shapes' => ['triangle'], 'title' => 'FIND'],
      ['colors' => ['orange'], 'shapes' => ['circle'], 'title' => 'FIND'],
      ['colors' => ['orange'], 'shapes' => ['triangle'], 'title' => 'DONT_FIND'],
      ['colors' => ['orange'], 'shapes' => ['triangle'], 'title' => 'DO_NOT_FIND'],
      ['colors' => ['yellow'], 'shapes' => ['square'], 'title' => 'FIND'],
      ['colors' => ['yellow'], 'shapes' => ['triangle'], 'title' => 'DONT_FIND'],
      ['colors' => ['orange'], 'shapes' => ['square'], 'title' => 'DONT_FIND'],
      ['colors' => ['yellow'], 'shapes' => ['triangle'], 'title' => 'DO_NOT_FIND'],
      ['colors' => ['orange'], 'shapes' => ['square'], 'title' => 'DO_NOT_FIND'],
    ]);

    $this->nodeStorage = $this->container->get('entity_type.manager')->getStorage('node');
+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ function migrate_prepare_row_test_migrate_prepare_row(Row $row, MigrateSourceInt
    // Record mapping but don't record a message.
    throw new MigrateSkipRowException('', TRUE);
  }
  elseif ($data == 'skip_and_dont_record') {
  elseif ($data == 'skip_and_do_not_record') {
    // Don't record mapping but record a message.
    throw new MigrateSkipRowException('skip_and_dont_record message', FALSE);
    throw new MigrateSkipRowException('skip_and_do_not_record message', FALSE);
  }
}
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
    if ($data == 'skip_and_record (use plugin)') {
      throw new MigrateSkipRowException('', TRUE);
    }
    elseif ($data == 'skip_and_dont_record (use plugin)') {
    elseif ($data == 'skip_and_do_not_record (use plugin)') {
      throw new MigrateSkipRowException('', FALSE);
    }
    return $value;
Loading