From c5ea6561fca2d8f1ba47a0678f394101a333f03f Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Tue, 14 May 2024 11:21:50 +0100
Subject: [PATCH] Issue #3446967 by kim.pepper, alexpott: [11.x] Remove
 deprecated methods in InputStreamUploadedFile

---
 .../src/Upload/InputStreamUploadedFile.php    | 21 -------------------
 1 file changed, 21 deletions(-)

diff --git a/core/modules/file/src/Upload/InputStreamUploadedFile.php b/core/modules/file/src/Upload/InputStreamUploadedFile.php
index 4eaba1f1d80d..2aa0cf3225c9 100644
--- a/core/modules/file/src/Upload/InputStreamUploadedFile.php
+++ b/core/modules/file/src/Upload/InputStreamUploadedFile.php
@@ -56,27 +56,6 @@ public function getPathname(): string {
     throw new \BadMethodCallException(__METHOD__ . ' not implemented');
   }
 
-  /**
-   * {@inheritdoc}
-   */
-  public function isValid(): bool {
-    throw new \BadMethodCallException(__METHOD__ . ' not implemented');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getErrorMessage(): string {
-    throw new \BadMethodCallException(__METHOD__ . ' not implemented');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getError(): int {
-    throw new \BadMethodCallException(__METHOD__ . ' not implemented');
-  }
-
   /**
    * {@inheritdoc}
    */
-- 
GitLab