Skip to content

Commit 368817d

Browse files
authored
Merge pull request #1147 from benno5020/refactor/refactor-IsCamelCapsTest-to-use-data-providers
Refactor IsCamelCapsTest to use data providers and add more tests
2 parents 957cab3 + ff8e0e0 commit 368817d

File tree

3 files changed

+419
-46
lines changed

3 files changed

+419
-46
lines changed

.cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"mins",
4444
"nekudotayim",
4545
"nowdoc",
46+
"numeronym",
4647
"paamayim",
4748
"pcre",
4849
"php's",

src/Util/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public static function stripColors($text)
330330
/**
331331
* Returns true if the specified string is in the camel caps format.
332332
*
333-
* @param string $string The string the verify.
333+
* @param string $string The string to verify.
334334
* @param boolean $classFormat If true, check to see if the string is in the
335335
* class format. Class format strings must start
336336
* with a capital letter and contain no

0 commit comments

Comments
 (0)