Commit 2d128fc0 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#203794 by douggreen: nonexistent dependencies should not be considered on the dependency checker

parent d0940351
...@@ -178,7 +178,7 @@ function _module_build_dependencies($files) { ...@@ -178,7 +178,7 @@ function _module_build_dependencies($files) {
if (isset($file->info['dependencies']) && is_array($file->info['dependencies'])) { if (isset($file->info['dependencies']) && is_array($file->info['dependencies'])) {
foreach ($file->info['dependencies'] as $dependency_name) { foreach ($file->info['dependencies'] as $dependency_name) {
// This is a nonexistent module. // This is a nonexistent module.
if ($dependency_name == '-circular-') { if ($dependency_name == '-circular-' || !isset($files[$dependency_name])) {
continue; continue;
} }
// $dependency_name is module B (again, see doxygen). // $dependency_name is module B (again, see doxygen).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment