TASK: Migrate to PSR-4
This commit is contained in:
parent
8dfb72c230
commit
93fa97e817
3 changed files with 3 additions and 4 deletions
|
@ -93,8 +93,7 @@ class SettingsValidator extends AbstractValidator
|
||||||
$this->result->forProperty($validatorConfig['property'])->merge(
|
$this->result->forProperty($validatorConfig['property'])->merge(
|
||||||
$validator->validate(ObjectAccess::getPropertyPath($value, $validatorConfig['property']))
|
$validator->validate(ObjectAccess::getPropertyPath($value, $validatorConfig['property']))
|
||||||
);
|
);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$this->result->merge($validator->validate($value));
|
$this->result->merge($validator->validate($value));
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -21,8 +21,8 @@
|
||||||
"neos/flow": "~4.1"
|
"neos/flow": "~4.1"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-4": {
|
||||||
"DigiComp\\SettingValidator": "Classes"
|
"DigiComp\\SettingValidator\\": "Classes"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
Loading…
Reference in a new issue