Verified Commit d3c54ee8 authored by Dave Long's avatar Dave Long
Browse files

task: #3561139 Deprecate update include files that contain only deprecated functions

By: nicxvan
By: godotislate
(cherry picked from commit f44fe18a)
parent f1b7d9b2
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2,12 +2,19 @@

/**
 * @file
 *
 * @deprecated in drupal:11.3.0 and is removed from drupal:12.0.0.
 *   Functions have been deprecated.
 *
 * @see https://www.drupal.org/node/3512364
 */

use Drupal\Core\Batch\BatchBuilder;
use Drupal\Core\Updater\UpdaterException;
use Drupal\Core\Url;

@trigger_error(__FILE__ . ' is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. Functions have been deprecated. See https://www.drupal.org/node/3512364', E_USER_DEPRECATED);

/**
 * Updates existing projects when invoked by authorize.php.
 *
+7 −0
Original line number Diff line number Diff line
@@ -2,6 +2,11 @@

/**
 * @file
 *
 * @deprecated in drupal:11.3.0 and is removed from drupal:12.0.0.
 *   Functions have been deprecated.
 *
 * @see https://www.drupal.org/node/3512364
 */

use Drupal\Core\File\Exception\FileException;
@@ -9,6 +14,8 @@
use Drupal\Core\File\FileExists;
use Psr\Http\Client\ClientExceptionInterface;

@trigger_error(__FILE__ . ' is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. Functions have been deprecated. See https://www.drupal.org/node/3512364', E_USER_DEPRECATED);

/**
 * Checks for file transfer backends and prepares a form fragment about them.
 *