Showing 188 of 604 total issues
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck('maximum')->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATASIZE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck('enum')->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATAVALUE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return 'TypeNumber';
Avoid too many return
statements within this method. Open
Open
return $context->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_SWAGGER_ERROR, $keyAllOf . ' Combined Object Type cannot be empty !', __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $this->checkDataIsEmpty();
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck('type')->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATATYPE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck('pattern')->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_PATTERN, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $context->setDataCheck('type')->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATAVALUE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $context->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATATYPE, 'The format does not match with registred patterns', __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return \SwaggerValidator\Common\Factory::getInstance()->OAuth2ApplicationSecurity;
Avoid too many return
statements within this method. Open
Open
return 'TypeObject';
Avoid too many return
statements within this method. Open
Open
return $this->loadRequestFormData($paramName);
Avoid too many return
statements within this method. Open
Open
return $this->returnBuildObject($context, \SwaggerValidator\Common\Factory::getInstance()->Reference, $originType, $originKey, $jsonData);
Avoid too many return
statements within this method. Open
Open
return $jsonData;
Avoid too many return
statements within this method. Open
Open
return $this->returnBuildObject($context, \SwaggerValidator\Common\Factory::getInstance()->TypeObject, $originType, $originKey, $jsonData);
Avoid too many return
statements within this method. Open
Open
return 'TypeString';
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $context->setValidationError(\SwaggerValidator\Common\Context::VALIDATION_TYPE_DATATYPE, null, __METHOD__, __LINE__);
Avoid too many return
statements within this method. Open
Open
return $jsonData;