Fix codestyle in tests (#20638)

This commit is contained in:
Maksim Spirkov
2025-10-27 10:56:00 +03:00
committed by GitHub
parent fa9a2b6e6d
commit 2f8e62d6b6
12 changed files with 66 additions and 66 deletions

View File

@@ -37,7 +37,7 @@ class BaseConsoleTest extends TestCase
/**
* @test
*/
public function ansiColorizedSubstr_withoutColors(): void
public function ansiColorizedSubstrWithoutColors(): void
{
$str = 'FooBar';
@@ -56,13 +56,13 @@ class BaseConsoleTest extends TestCase
/**
* @test
* @dataProvider ansiColorizedSubstr_withColors_data
* @dataProvider ansiColorizedSubstrWithColorsData
* @param $str
* @param $start
* @param $length
* @param $expected
*/
public function ansiColorizedSubstr_withColors($str, $start, $length, $expected): void
public function ansiColorizedSubstrWithColors($str, $start, $length, $expected): void
{
$ansiStr = BaseConsole::renderColoredString($str);
@@ -71,7 +71,7 @@ class BaseConsoleTest extends TestCase
$this->assertEquals($ansiExpected, $ansiActual);
}
public static function ansiColorizedSubstr_withColors_data(): array
public static function ansiColorizedSubstrWithColorsData(): array
{
return [
['%rFoo%gBar%n', 0, 3, '%rFoo%n'],