Skip to content

Commit 00c301f

Browse files
authored
Merge pull request #49 from dbu/fix-empty-configuration
allow completely empty configuration
2 parents 30ff2c7 + b9aca7e commit 00c301f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpUnit/AbstractConfigurationConstraint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function validateConfigurationValuesArray($configurationValues)
3333
}
3434

3535
foreach ($configurationValues as $values) {
36-
if (!is_array($values)) {
36+
if (!is_array($values) && null !== $values) {
3737
throw new \InvalidArgumentException('Configuration values should be an array of arrays');
3838
}
3939
}

0 commit comments

Comments
 (0)