diff --git a/core/lib/Drupal/Core/Utility/ProjectInfo.php b/core/lib/Drupal/Core/Utility/ProjectInfo.php index 8cdfa5b..2adb031 100644 --- a/core/lib/Drupal/Core/Utility/ProjectInfo.php +++ b/core/lib/Drupal/Core/Utility/ProjectInfo.php @@ -2,13 +2,16 @@ /** * @file - * Definition of Drupal\Core\Utility\ProjectInfo + * Contains Drupal\Core\Utility\ProjectInfo * * API for building lists of installed projects. */ } diff --git a/core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php b/core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php index e0633b6..f4b81d5 100644 --- a/core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php +++ b/core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php @@ -7,6 +7,8 @@ namespace Drupal\update\Tests; +use \Drupal\Core\Utility\ProjectInfo; + /** * Tests behavior related to handling updates to contributed modules and themes. */ @@ -287,7 +289,7 @@ function testUpdateHiddenBaseTheme() { config('update_test.settings')->set('system_info', $system_info)->save(); $projects = update_get_projects(); $theme_data = system_rebuild_theme_data(); - $project_info = new \Drupal\Core\Utility\ProjectInfo(); + $project_info = new ProjectInfo(); $project_info->processInfoList($projects, $theme_data, 'theme', TRUE); $this->assertTrue(!empty($projects['update_test_basetheme']), 'Valid base theme (update_test_basetheme) was found.');