diff -u b/core/modules/views/src/Tests/Handler/HandlerTest.php b/core/modules/views/src/Tests/Handler/HandlerTest.php --- b/core/modules/views/src/Tests/Handler/HandlerTest.php +++ b/core/modules/views/src/Tests/Handler/HandlerTest.php @@ -104,16 +104,16 @@ $this->assertEqualValue(['wõrd1', 'wõrd2', 'wõrd'], $handler); $this->assertEqual('and', $handler->operator); $handler = HandlerBase::breakString('Law & Order,word,word'); - $this->assertEqualValue(array('Law & Order', 'word', 'word'), $handler); + $this->assertEqualValue(['Law & Order', 'word', 'word'], $handler); $this->assertEqual('and', $handler->operator); $handler = HandlerBase::breakString('word,Law & Order,word'); - $this->assertEqualValue(array('word','Law & Order', 'word'), $handler); + $this->assertEqualValue(['word','Law & Order', 'word'], $handler); $this->assertEqual('and', $handler->operator); $handler = HandlerBase::breakString('word,#Law&Order,word'); - $this->assertEqualValue(array('word','#Law&Order', 'word'), $handler); + $this->assertEqualValue(['word','#Law&Order', 'word'], $handler); $this->assertEqual('and', $handler->operator); $handler = HandlerBase::breakString('word,word,Law/Order'); - $this->assertEqualValue(array('word','word', 'Law/Order'), $handler); + $this->assertEqualValue(['word','word', 'Law/Order'], $handler); $this->assertEqual('and', $handler->operator); // Test a single word