diff --git a/src/applications/differential/parser/DifferentialChangesetParser.php b/src/applications/differential/parser/DifferentialChangesetParser.php index 121ecdcbfa..cd970e9cd3 100644 --- a/src/applications/differential/parser/DifferentialChangesetParser.php +++ b/src/applications/differential/parser/DifferentialChangesetParser.php @@ -369,8 +369,9 @@ final class DifferentialChangesetParser { $generated_guess = (strpos($new_corpus_block, '@'.'generated') !== false); if (!$generated_guess) { - $config_key = 'differential.generated-paths'; - $generated_path_regexps = PhabricatorEnv::getEnvConfig($config_key); + $generated_path_regexps = PhabricatorEnv::getEnvConfig( + 'differential.generated-paths', + array()); foreach ($generated_path_regexps as $regexp) { if (preg_match($regexp, $this->changeset->getFilename())) { $generated_guess = true;