From 297b88689c0d18b45eea80bbe83a1dcd05e5b865 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Sat, 6 Apr 2024 12:50:26 +0100 Subject: [PATCH] Issue #3438302 by mondrake: Change DrupalLogErrorTest::provideFatalExitCodeData to static --- core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php index 4bd3e8bbab4f..1957beb81db6 100644 --- a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php +++ b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php @@ -32,7 +32,7 @@ public function testFatalExitCode(string $script, string $output, string $errorO $this->assertSame($processIsSuccessful, $process->isSuccessful()); } - public function provideFatalExitCodeData(): array { + public static function provideFatalExitCodeData(): array { $verbose = "\$GLOBALS['config']['system.logging']['error_level'] = 'verbose';"; $scriptBody = self::getScriptBody(); $data['normal'] = [ -- GitLab