From f2231d9e5e01cac038298d6f190b7076cf413393 Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Mon, 12 Aug 2024 16:42:09 +0900 Subject: [PATCH] Issue #3467278 by ankitv18, catch: TestFileCreationTrait::generateFile should be protected --- core/tests/Drupal/Tests/TestFileCreationTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/Drupal/Tests/TestFileCreationTrait.php b/core/tests/Drupal/Tests/TestFileCreationTrait.php index f7445584add3..eaf25d07736f 100644 --- a/core/tests/Drupal/Tests/TestFileCreationTrait.php +++ b/core/tests/Drupal/Tests/TestFileCreationTrait.php @@ -147,7 +147,7 @@ protected function compareFiles($file1, $file2) { * @return string * The name of the file, including the path. */ - public static function generateFile($filename, $width, $lines, $type = 'binary-text') { + protected static function generateFile($filename, $width, $lines, $type = 'binary-text') { $text = ''; for ($i = 0; $i < $lines; $i++) { // Generate $width - 1 characters to leave space for the "\n" character. -- GitLab