reformat code
This commit is contained in:
parent
72904639a4
commit
e4abe5a96c
1 changed files with 5 additions and 3 deletions
|
@ -33,9 +33,11 @@ class Version20170603120900 extends AbstractMigration
|
|||
$newConfiguration = ['properties' => [], 'self' => []];
|
||||
|
||||
foreach ($validators as $key => &$validator) {
|
||||
if (! isset($validator['validator']) || ! isset($validator['options'])) {
|
||||
$this->showWarning('The Validation.yaml files contained no validator or options for ' .
|
||||
'validation: "' . $validatorName . '.' . $key . '". It was not migrated.');
|
||||
if (!isset($validator['validator']) || !isset($validator['options'])) {
|
||||
$this->showWarning(
|
||||
'The Validation.yaml files contained no validator or options for validation: ' .
|
||||
'"' . $validatorName . '.' . $key . '". It was not migrated.'
|
||||
);
|
||||
continue;
|
||||
}
|
||||
if (isset($validator['property'])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue