diff --git a/core/.cspell.json b/core/.cspell.json index 229697d909a8cac824bf0e4ccbe895db265d7937..354417e47aafe8bf759e8ca7e2f88e8bb5f1536d 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 2be2ef60f4f0f2d81f3a7e4b15d40f82ed7dd2e6..0f9c8caebc9b46804877826eed4fa9855051c572 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; }