Skip to content
Snippets Groups Projects
Commit 504b0dbf authored by catch's avatar catch
Browse files

Issue #3233010 by alexpott, longwave:...

Issue #3233010 by alexpott, longwave: drupal_phpunit_contrib_extension_directory_roots() passes NULL to file_exists() causing deprecations in PHP 8.1
parent f8247057
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ function drupal_phpunit_contrib_extension_directory_roots($root = NULL) {
$paths[] = is_dir("$path/profiles") ? realpath("$path/profiles") : NULL;
$paths[] = is_dir("$path/themes") ? realpath("$path/themes") : NULL;
}
return array_filter($paths, 'file_exists');
return array_filter($paths);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment