Support from Acquia helps fund testing for Drupal Acquia logo

Comments

daffie created an issue. See original summary.

daffie’s picture

daffie’s picture

Status: Active » Needs review
alexpott’s picture

Status: Needs review » Needs work
+++ b/core/lib/Drupal/Core/Database/Database.php
@@ -568,7 +568,7 @@ public static function findDriverAutoloadDirectory($namespace, $root) {
-    [, $module, $module_relative_namespace] = explode('\\', $namespace, 3);
+    list($first, $module, $module_relative_namespace) = explode('\\', $namespace, 3);

Let's not add a $first here. It's an unnecessary difference.

daffie’s picture

Status: Needs work » Needs review
FileSize
559 bytes
1.16 KB

Updated the patch for the comment from @alexpott. Thank you for the review.

alexpott’s picture

Status: Needs review » Reviewed & tested by the community

All looks good here.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 70dd2c2 and pushed to 8.9.x. Thanks!

Committing since this fixes a HEAD fail and is functionally exactly the same.

  • alexpott committed 70dd2c2 on 8.9.x
    Issue #3126923 by daffie: HEAD is broken for Drupal 8.9 with PHP 7.0
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.