Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Bootstrap / GetFilenameTest.php
index 4c5448718ed2e3f8d27af1c43c36166a97bebba4..e0eccbf58d139fb573a0e5ed73fb95e1be960653 100644 (file)
@@ -49,12 +49,11 @@ class GetFilenameTest extends KernelTestBase {
     // a fixed location and naming.
     $this->assertIdentical(drupal_get_filename('profile', 'testing'), 'core/profiles/testing/testing.info.yml');
 
-
     // Generate a non-existing module name.
     $non_existing_module = uniqid("", TRUE);
 
     // Set a custom error handler so we can ignore the file not found error.
-    set_error_handler(function($severity, $message, $file, $line) {
+    set_error_handler(function ($severity, $message, $file, $line) {
       // Skip error handling if this is a "file not found" error.
       if (strstr($message, 'is missing from the file system:')) {
         \Drupal::state()->set('get_filename_test_triggered_error', TRUE);