src/AbstractCompositeValidatorBase.php
The variable $_error is not named in camelCase. Invalid
Invalid
protected function _normalizeErrorList($errorList)
{
$listIterator = new AppendIterator();
foreach ($errorList as $_error) {
$listIterator->append($this->_normalizeIterator($_error));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_error is not named in camelCase. Invalid
Invalid
protected function _normalizeErrorList($errorList)
{
$listIterator = new AppendIterator();
foreach ($errorList as $_error) {
$listIterator->append($this->_normalizeIterator($_error));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method _createTraversableIterator is not named in camelCase. Invalid
Invalid
protected function _createTraversableIterator($traversable)
{
return new IteratorIterator($traversable);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _normalizeErrorList is not named in camelCase. Invalid
Invalid
protected function _normalizeErrorList($errorList)
{
$listIterator = new AppendIterator();
foreach ($errorList as $_error) {
$listIterator->append($this->_normalizeIterator($_error));
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _createArrayIterator is not named in camelCase. Invalid
Invalid
protected function _createArrayIterator($array)
{
return new ArrayIterator($array);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}