This check looks for method names that are not written in camelCase.
In camelCase names are written without any punctuation, the start of each new
word being marked by a capital letter. Thus the name
database connection seeker becomes databaseConnectionSeeker.
This method seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
51
{
52
if (!is_array($this->value)) {
53
throw new \InvalidArgumentException(
54
'The provided value for ' . __CLASS__ . ' must be an array of type xsNMTOKEN.'
This check looks for method names that are not written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes
databaseConnectionSeeker
.