diff --git a/core/modules/filter/src/Tests/FilterUnitTest.php b/core/modules/filter/src/Tests/FilterUnitTest.php
index 3e87393fa12f2844aa3692b1f845d9cfbb53e77c..2c2a5c94a5d137399e927e7e85c76dd4e2613b38 100644
--- a/core/modules/filter/src/Tests/FilterUnitTest.php
+++ b/core/modules/filter/src/Tests/FilterUnitTest.php
@@ -118,7 +118,7 @@ function testCaptionFilter() {
// Data-caption attribute.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
@@ -130,14 +130,14 @@ function testCaptionFilter() {
// HTML entities in the caption.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// HTML encoded as HTML entities in data-caption attribute.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
@@ -146,33 +146,33 @@ function testCaptionFilter() {
// not allowed by the HTML spec, but may happen when people manually write
// HTML, so we explicitly support it.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// Security test: attempt an XSS.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// Ensure the filter also works with uncommon yet valid attribute quoting.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// Finally, ensure that this also works on any other tag.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
$input = '