Skip to content

Commit ff8e0e0

Browse files
benno5020jrfnl
authored andcommitted
Util/Common: rename test method
1 parent 7ca7ed6 commit ff8e0e0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/Core/Util/Common/IsCamelCapsTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,33 +379,33 @@ public static function dataInvalidClassFormat()
379379

380380

381381
/**
382-
* Test invalid class names with the private flag set.
382+
* Test invalid class names with the public flag set.
383383
*
384-
* Note that the private flag is ignored if the class format
384+
* Note that the public flag is ignored if the class format
385385
* flag is set, so these names are all invalid.
386386
*
387387
* @param string $name The tested name.
388388
* @param bool $public Value of the $public flag.
389389
*
390-
* @dataProvider dataInvalidClassFormatPrivate
390+
* @dataProvider dataInvalidClassFormatWithPublicFlag
391391
*
392392
* @return void
393393
*/
394-
public function testInvalidClassFormatPrivate($name, $public)
394+
public function testInvalidClassFormatWithPublicFlag($name, $public)
395395
{
396396
$this->assertFalse(Common::isCamelCaps($name, true, $public));
397397

398-
}//end testInvalidClassFormatPrivate()
398+
}//end testInvalidClassFormatWithPublicFlag()
399399

400400

401401
/**
402402
* Data provider.
403403
*
404-
* @see testInvalidClassFormatPrivate()
404+
* @see testInvalidClassFormatWithPublicFlag()
405405
*
406406
* @return array<string, array<string, string|bool>>
407407
*/
408-
public static function dataInvalidClassFormatPrivate()
408+
public static function dataInvalidClassFormatWithPublicFlag()
409409
{
410410
return [
411411
'PascalCase string with initial underscore (public)' => [
@@ -426,7 +426,7 @@ public static function dataInvalidClassFormatPrivate()
426426
],
427427
];
428428

429-
}//end dataInvalidClassFormatPrivate()
429+
}//end dataInvalidClassFormatWithPublicFlag()
430430

431431

432432
/**

0 commit comments

Comments
 (0)