From 1b789d52269fb1b4e68e0a6f244db16c609e7481 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 30 Dec 2013 14:11:12 +0100 Subject: [PATCH] Fix indenting, refs #2535 --- src/Composer/Util/ConfigValidator.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Composer/Util/ConfigValidator.php b/src/Composer/Util/ConfigValidator.php index 670c9d755..5bd915388 100644 --- a/src/Composer/Util/ConfigValidator.php +++ b/src/Composer/Util/ConfigValidator.php @@ -110,12 +110,12 @@ class ConfigValidator // check for require-dev overrides 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)) { - $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"; - } + if (!empty($requireOverrides)) { + $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"; + } } try {