@trigger_error('Calling '.__METHOD__.'() without the $file_validator argument is deprecated in drupal:10.2.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3363700',E_USER_DEPRECATED);
@trigger_error('Calling '.__METHOD__.'() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3380607',E_USER_DEPRECATED);
@trigger_error('Passing a \Drupal\Core\Session\AccountInterface to '.__METHOD__.'() as argument 9 is deprecated in drupal:10.3.0 and will be removed before drupal:11.0.0. Pass a \Drupal\file\Validation\FileValidatorInterface instead. See https://www.drupal.org/node/3402032',E_USER_DEPRECATED);
@trigger_error('Passing a \Drupal\Core\File\MimeType\MimeTypeGuesser to '.__METHOD__.'() as argument 10 is deprecated in drupal:10.3.0 and will be removed before drupal:11.0.0. Pass an \Drupal\file\Upload\InputStreamFileWriterInterface instead. See https://www.drupal.org/node/3402032',E_USER_DEPRECATED);
@trigger_error('Passing a \Drupal\Core\Utility\Token to '.__METHOD__.'() as argument 11 is deprecated in drupal:10.3.0 and will be removed before drupal:11.0.0. Pass an \Drupal\file\Upload\FileUploadHandler instead. See https://www.drupal.org/node/3402032',E_USER_DEPRECATED);
* Thrown when input data cannot be read, the temporary file cannot be
* opened, or the temporary file cannot be written.
*
* @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no
* replacement.
*
* @see https://www.drupal.org/node/3402032
*/
protectedfunctionstreamUploadData():string{
@\trigger_error('Calling '.__METHOD__.'() is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3402032',E_USER_DEPRECATED);
// Catch and throw the exceptions that REST expects.
@\trigger_error('Calling '.__METHOD__.'() is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3402032',E_USER_DEPRECATED);
$this->assertResourceErrorResponse(422,PlainTextOutput::renderFromHtml("Unprocessable Entity: validation failed.\nuri: The file public://foobar/example.txt already exists. Enter a unique file URI.\n"),$response);
$this->assertResourceErrorResponse(422,PlainTextOutput::renderFromHtml("Unprocessable Entity: file validation failed.\nThe file public://foobar/example.txt already exists. Enter a unique file URI."),$response);
}
/**
@@ -683,6 +684,7 @@ protected function getExpectedUnauthorizedAccessMessage($method) {