Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / Tests / Core / DrupalKernel / DrupalKernelTest.php
index 9ca4ffff859959390510e88f0696435f215f2b38..bc32d04ba6810678ea1655428fb13a4fcb48ba6f 100644 (file)
@@ -116,7 +116,7 @@ namespace Drupal\Tests\Core\DrupalKernel {
         'www.example.com',
         'www.example.com',
         'canonical URL is trusted',
-        TRUE
+        TRUE,
       ];
 
       // Tests missing hostname for HTTP/1.0 compatibility where the Host
@@ -128,25 +128,25 @@ namespace Drupal\Tests\Core\DrupalKernel {
         'example.com',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
       $data[] = [
         'subdomain.example.com',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
       $data[] = [
         'www.example.org',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
       $data[] = [
         'example.org',
         'www.example.com',
         'host from settings is trusted',
-        TRUE
+        TRUE,
       ];
 
       // Tests mismatch.
@@ -154,7 +154,7 @@ namespace Drupal\Tests\Core\DrupalKernel {
         'www.blackhat.com',
         'www.example.com',
         'unspecified host is untrusted',
-        FALSE
+        FALSE,
       ];
 
       return $data;
@@ -245,8 +245,10 @@ EOD;
 namespace {
 
   if (!function_exists('drupal_valid_test_ua')) {
+
     function drupal_valid_test_ua($new_prefix = NULL) {
       return FALSE;
     }
+
   }
 }