Skip to content

Commit cd73808

Browse files
committed
Merge branch '5.1'
* 5.1: Fix typo Fix deprecated libxml_disable_entity_loader Add Tagalog translations for validator messages 94, 95, 96 and 99 PHPUnit's assertContains() performs strict comparisons now. [ClassLoader][Routing] Fix namespace parsing on php 8. Fix deprecated libxml_disable_entity_loader Made reference to PHPUnit\Util\XML::loadfile php5-compatible. [Validator] Add missing translations for german and vietnamese Modernized deprecated PHPUnit assertion calls [Console] The message of "class not found" errors has changed in php 8. The PHPUnit\Util\XML class has been removed in PHPUnit 9.3. [Console] Make sure we pass a numeric array of arguments to call_user_func_array(). Remove outdated references from base_js.html.twig file [String] We cannot have a "provides" function in test cases. Typo: somes styles fixed [Serializer] Fix that it will never reach DOMNode [Validator] sync translations [VarDumper] Improve previous fix on light array coloration [Cache] Fix #37667
2 parents b43ba99 + 948055d commit cd73808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/FunctionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
final class FunctionsTest extends TestCase
2121
{
2222
/**
23-
* @dataProvider provideS
23+
* @dataProvider provideStrings
2424
*/
2525
public function testS(AbstractString $expected, string $input)
2626
{
2727
$this->assertEquals($expected, s($input));
2828
}
2929

30-
public function provideS()
30+
public function provideStrings(): array
3131
{
3232
return [
3333
[new UnicodeString('foo'), 'foo'],

0 commit comments

Comments
 (0)