From c3e68680adbf0c6ce585bf32c948c80d5f90975a Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Thu, 27 Jun 2024 10:55:33 +0100
Subject: [PATCH] Issue #3155411 by quietone, smustgrave, jungle, longwave: Add
 "writeable" to the "flagWords" in core/.cspell.json

---
 core/.cspell.json                          | 3 ++-
 core/tests/Drupal/Tests/StreamCapturer.php | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/core/.cspell.json b/core/.cspell.json
index 229697d909a8..354417e47aaf 100644
--- a/core/.cspell.json
+++ b/core/.cspell.json
@@ -69,7 +69,8 @@
       "hte",
       "ist",
       "please",
-      "queuing"
+      "queuing",
+      "writeable"
     ],
     "overrides": [
       {
diff --git a/core/tests/Drupal/Tests/StreamCapturer.php b/core/tests/Drupal/Tests/StreamCapturer.php
index 2be2ef60f4f0..0f9c8caebc9b 100644
--- a/core/tests/Drupal/Tests/StreamCapturer.php
+++ b/core/tests/Drupal/Tests/StreamCapturer.php
@@ -4,6 +4,8 @@
 
 namespace Drupal\Tests;
 
+// cspell:ignore datalen PSFS_FEED_ME writeable
+
 /**
  * Captures output to a stream and stores it for retrieval.
  */
@@ -14,11 +16,9 @@ class StreamCapturer extends \php_user_filter {
   public function filter($in, $out, &$consumed, $closing): int {
     while ($bucket = stream_bucket_make_writeable($in)) {
       self::$cache .= $bucket->data;
-      // cSpell:disable-next-line
       $consumed += $bucket->datalen;
       stream_bucket_append($out, $bucket);
     }
-    // cSpell:disable-next-line
     return PSFS_FEED_ME;
   }
 
-- 
GitLab