Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@ -12,19 +12,19 @@ class ValidationException extends \RuntimeException {
/** @var ConstraintViolationListInterface|ConstraintViolationInterface[] */
private $violations;
public function __construct($resource_name, ConstraintViolationListInterface $violations) {
$this->resource_name = $resource_name;
public function __construct($resourceName, ConstraintViolationListInterface $violations) {
$this->resourceName = $resourceName;
$this->violations = $violations;
$line_prefix = ' ';
$linePrefix = ' ';
$message = "Validation failed for '$resource_name'.\nDetails:\n";
$message .= $line_prefix . implode("\n$line_prefix", $this->getErrors());
$message .= $linePrefix . implode("\n$line_prefix", $this->getErrors());
parent::__construct($message);
}
/** @return string */
public function getResourceName() {
return $this->resource_name;
return $this->resourceName;
}
/** @return ConstraintViolationListInterface|ConstraintViolationInterface[] */