From 46e2a0c51786c04b80d4b17c917e6f6989c88c97 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sat, 8 Aug 2020 15:51:54 +0200 Subject: [PATCH] [String] We cannot have a "provides" function in test cases. --- src/Symfony/Component/String/Tests/FunctionsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/String/Tests/FunctionsTest.php b/src/Symfony/Component/String/Tests/FunctionsTest.php index 1f2776e889..dba056528b 100644 --- a/src/Symfony/Component/String/Tests/FunctionsTest.php +++ b/src/Symfony/Component/String/Tests/FunctionsTest.php @@ -20,14 +20,14 @@ use function Symfony\Component\String\s; final class FunctionsTest extends TestCase { /** - * @dataProvider provideS + * @dataProvider provideStrings */ public function testS(AbstractString $expected, string $input) { $this->assertEquals($expected, s($input)); } - public function provideS() + public function provideStrings(): array { return [ [new UnicodeString('foo'), 'foo'],