Merge branch 'develop'
This commit is contained in:
commit
aeeba2f15c
2 changed files with 8 additions and 7 deletions
|
@ -4,10 +4,11 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## 3.0.1 - 2020-09-09
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [3.0.1] - 2020-09-09
|
||||||
### Changed
|
### Changed
|
||||||
- dependency to Flow ^6.3
|
- dependency to Flow ^6.3
|
||||||
|
|
||||||
## 3.0.0 - 2020-08-31
|
## [3.0.0] - 2020-08-31
|
||||||
|
|
||||||
Start of the changelog.
|
Start of the changelog.
|
||||||
|
|
|
@ -30,14 +30,14 @@ class Version20170603120900 extends AbstractMigration
|
||||||
foreach ($validators as $key => $validator) {
|
foreach ($validators as $key => $validator) {
|
||||||
if (!isset($validator['validator']) || !isset($validator['options'])) {
|
if (!isset($validator['validator']) || !isset($validator['options'])) {
|
||||||
$this->showWarning(
|
$this->showWarning(
|
||||||
'The Validation.yaml files contained no validator or options for validation: ' .
|
'The Validation.yaml files contained no validator or options for validation: '
|
||||||
'"' . $validatorName . '.' . $key . '". It was not migrated.'
|
. '"' . $validatorName . '.' . $key . '". It was not migrated.'
|
||||||
);
|
);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (isset($validator['property'])) {
|
if (isset($validator['property'])) {
|
||||||
$newConfiguration['properties'][$validator['property']][$validator['validator']]
|
$newConfiguration['properties'][$validator['property']][$validator['validator']] =
|
||||||
= $validator['options'];
|
$validator['options'];
|
||||||
} else {
|
} else {
|
||||||
$newConfiguration['self'][$validator['validator']] = $validator['options'];
|
$newConfiguration['self'][$validator['validator']] = $validator['options'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue