Merge branch 'release/2.0.1'
This commit is contained in:
commit
5eca8b80fb
5 changed files with 5 additions and 8 deletions
|
@ -32,7 +32,7 @@ class Package extends BasePackage
|
|||
$dispatcher = $bootstrap->getSignalSlotDispatcher();
|
||||
$dispatcher->connect(ConfigurationManager::class, 'configurationManagerReady',
|
||||
function ($configurationManager) {
|
||||
/** @var ConfigurationManager $configurationManager */
|
||||
/* @var ConfigurationManager $configurationManager */
|
||||
$configurationManager->registerConfigurationType(
|
||||
static::CONFIGURATION_TYPE_VALIDATION,
|
||||
ConfigurationManager::CONFIGURATION_PROCESSING_TYPE_DEFAULT,
|
||||
|
|
|
@ -163,6 +163,7 @@ class SettingsValidator extends AbstractValidator
|
|||
* Check whether at least one configured group does match, if any is configured.
|
||||
*
|
||||
* @param array $validatorConfig
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected function doesValidationGroupsMatch(array &$validatorConfig)
|
||||
|
|
|
@ -16,12 +16,12 @@ TrueValidator:
|
|||
DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsCustomObject:
|
||||
self:
|
||||
DigiComp.SettingValidator:Settings:
|
||||
name: GroupValidatorCustom
|
||||
name: 'GroupValidatorCustom'
|
||||
|
||||
DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsDefaultObject:
|
||||
self:
|
||||
DigiComp.SettingValidator:Settings:
|
||||
name: GroupValidatorDefault
|
||||
name: 'GroupValidatorDefault'
|
||||
|
||||
GroupValidatorDefault:
|
||||
properties:
|
||||
|
@ -35,4 +35,4 @@ GroupValidatorCustom:
|
|||
BooleanValue:
|
||||
expectedValue: false
|
||||
validationGroups:
|
||||
- Custom
|
||||
- 'Custom'
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
<?php
|
||||
namespace DigiComp\SettingValidator\Tests\Functional\Fixtures;
|
||||
|
||||
use Neos\Flow\Annotations as Flow;
|
||||
|
||||
class TestValidationGroupsCustomObject
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
<?php
|
||||
namespace DigiComp\SettingValidator\Tests\Functional\Fixtures;
|
||||
|
||||
use Neos\Flow\Annotations as Flow;
|
||||
|
||||
class TestValidationGroupsDefaultObject
|
||||
{
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue