Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Tests/OutputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function testStripIframes()
*
* @return array
*/
public function dataEscapeCsvFormula()
public static function dataEscapeCsvFormula(): array
{
return [
'empty string' => ['', ''],
Expand All @@ -286,9 +286,8 @@ public function dataEscapeCsvFormula()
*
* @param string $value The value to escape.
* @param string $expected The expected result.
*
* @dataProvider dataEscapeCsvFormula
*/
#[DataProvider('dataEscapeCsvFormula')]
public function testEscapeCsvFormula($value, $expected)
{
$this->assertEquals($expected, $this->object->escapeCsvFormula($value));
Expand Down
Loading