Fix indenting, refs #2535
parent
95cbc62520
commit
1b789d5226
|
@ -110,12 +110,12 @@ class ConfigValidator
|
||||||
|
|
||||||
// check for require-dev overrides
|
// check for require-dev overrides
|
||||||
if (isset($manifest['require']) && isset($manifest['require-dev'])) {
|
if (isset($manifest['require']) && isset($manifest['require-dev'])) {
|
||||||
$requireOverrides = array_intersect_key($manifest['require'], $manifest['require-dev']);
|
$requireOverrides = array_intersect_key($manifest['require'], $manifest['require-dev']);
|
||||||
|
|
||||||
if (!empty($requireOverrides)) {
|
if (!empty($requireOverrides)) {
|
||||||
$plural = (count($requireOverrides) > 1) ? 'are' : 'is';
|
$plural = (count($requireOverrides) > 1) ? 'are' : 'is';
|
||||||
$warnings[] = implode(', ', array_keys($requireOverrides)). " {$plural} required both in require and require-dev, this can lead to unexpected behavior";
|
$warnings[] = implode(', ', array_keys($requireOverrides)). " {$plural} required both in require and require-dev, this can lead to unexpected behavior";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue