@@ -379,33 +379,33 @@ public static function dataInvalidClassFormat()
379
379
380
380
381
381
/**
382
- * Test invalid class names with the private flag set.
382
+ * Test invalid class names with the public flag set.
383
383
*
384
- * Note that the private flag is ignored if the class format
384
+ * Note that the public flag is ignored if the class format
385
385
* flag is set, so these names are all invalid.
386
386
*
387
387
* @param string $name The tested name.
388
388
* @param bool $public Value of the $public flag.
389
389
*
390
- * @dataProvider dataInvalidClassFormatPrivate
390
+ * @dataProvider dataInvalidClassFormatWithPublicFlag
391
391
*
392
392
* @return void
393
393
*/
394
- public function testInvalidClassFormatPrivate ($ name , $ public )
394
+ public function testInvalidClassFormatWithPublicFlag ($ name , $ public )
395
395
{
396
396
$ this ->assertFalse (Common::isCamelCaps ($ name , true , $ public ));
397
397
398
- }//end testInvalidClassFormatPrivate ()
398
+ }//end testInvalidClassFormatWithPublicFlag ()
399
399
400
400
401
401
/**
402
402
* Data provider.
403
403
*
404
- * @see testInvalidClassFormatPrivate ()
404
+ * @see testInvalidClassFormatWithPublicFlag ()
405
405
*
406
406
* @return array<string, array<string, string|bool>>
407
407
*/
408
- public static function dataInvalidClassFormatPrivate ()
408
+ public static function dataInvalidClassFormatWithPublicFlag ()
409
409
{
410
410
return [
411
411
'PascalCase string with initial underscore (public) ' => [
@@ -426,7 +426,7 @@ public static function dataInvalidClassFormatPrivate()
426
426
],
427
427
];
428
428
429
- }//end dataInvalidClassFormatPrivate ()
429
+ }//end dataInvalidClassFormatWithPublicFlag ()
430
430
431
431
432
432
/**
0 commit comments