Commit 8f1f8623 authored by catch's avatar catch
Browse files

fix: #3556706 Deprecate ArchiverManager and ArchiverInterface

By: @longwave
parent 2e4c28af
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -51,6 +51,8 @@
%The "plugin.manager.migrate.field" service is deprecated in drupal:11.3 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3533566%
%Drupal\\field\\Plugin\\migrate\\process\\ProcessField\(\) is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.%
%Drupal\\field\\Plugin\\migrate\\process\\FieldType\(\) is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.%
%The "plugin.manager.archiver" service is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3556927%
%Drupal\\Core\\Archiver\\ArchiverManager is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3556927%

# Drupal 13.
%The "cache.backend.memory" service is deprecated in drupal:11.3.0 and is removed from drupal:13.0.0. Use cache.backend.memory.memory instead. See https://www.drupal.org/node/3546856%
+45 −0
Original line number Diff line number Diff line
@@ -30235,6 +30235,36 @@
	'count' => 1,
	'path' => __DIR__ . '/modules/system/src/PhpStorage/MockPhpStorage.php',
];
$ignoreErrors[] = [
	'message' => '#^Attribute class Drupal\\\\Core\\\\Archiver\\\\Attribute\\\\Archiver is deprecated\\: in drupal\\:11\\.3\\.0 and is removed from drupal\\:12\\.0\\.0\\. There is no
  replacement\\.$#',
	'identifier' => 'attribute.deprecated',
	'count' => 1,
	'path' => __DIR__ . '/modules/system/src/Plugin/Archiver/Tar.php',
];
$ignoreErrors[] = [
	'message' => '#^Class Drupal\\\\system\\\\Plugin\\\\Archiver\\\\Tar extends deprecated class Drupal\\\\Core\\\\Archiver\\\\Tar\\:
in drupal\\:11\\.3\\.0 and is removed from drupal\\:12\\.0\\.0\\. There is no
  replacement\\.$#',
	'identifier' => 'class.extendsDeprecatedClass',
	'count' => 1,
	'path' => __DIR__ . '/modules/system/src/Plugin/Archiver/Tar.php',
];
$ignoreErrors[] = [
	'message' => '#^Attribute class Drupal\\\\Core\\\\Archiver\\\\Attribute\\\\Archiver is deprecated\\: in drupal\\:11\\.3\\.0 and is removed from drupal\\:12\\.0\\.0\\. There is no
  replacement\\.$#',
	'identifier' => 'attribute.deprecated',
	'count' => 1,
	'path' => __DIR__ . '/modules/system/src/Plugin/Archiver/Zip.php',
];
$ignoreErrors[] = [
	'message' => '#^Class Drupal\\\\system\\\\Plugin\\\\Archiver\\\\Zip extends deprecated class Drupal\\\\Core\\\\Archiver\\\\Zip\\:
in drupal\\:11\\.3\\.0 and is removed from drupal\\:12\\.0\\.0\\. There is no
  replacement\\.$#',
	'identifier' => 'class.extendsDeprecatedClass',
	'count' => 1,
	'path' => __DIR__ . '/modules/system/src/Plugin/Archiver/Zip.php',
];
$ignoreErrors[] = [
	'message' => '#^Method Drupal\\\\system\\\\Plugin\\\\Block\\\\SystemBrandingBlock\\:\\:blockSubmit\\(\\) has no return type specified\\.$#',
	'identifier' => 'missingType.return',
@@ -34866,6 +34896,21 @@
	'count' => 1,
	'path' => __DIR__ . '/modules/update/src/UpdateSettingsForm.php',
];
$ignoreErrors[] = [
	'message' => '#^Attribute class Drupal\\\\Core\\\\Archiver\\\\Attribute\\\\Archiver is deprecated\\: in drupal\\:11\\.3\\.0 and is removed from drupal\\:12\\.0\\.0\\. There is no
  replacement\\.$#',
	'identifier' => 'attribute.deprecated',
	'count' => 1,
	'path' => __DIR__ . '/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php',
];
$ignoreErrors[] = [
	'message' => '#^Class Drupal\\\\update_test\\\\Plugin\\\\Archiver\\\\UpdateTestArchiver implements deprecated interface Drupal\\\\Core\\\\Archiver\\\\ArchiverInterface\\:
in drupal\\:11\\.3\\.0 and is removed from drupal\\:12\\.0\\.0\\. There is no
  replacement\\.$#',
	'identifier' => 'class.implementsDeprecatedInterface',
	'count' => 1,
	'path' => __DIR__ . '/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php',
];
$ignoreErrors[] = [
	'message' => '#^Class Drupal\\\\update_test\\\\TestFileTransferWithSettingsForm extends deprecated class Drupal\\\\Core\\\\FileTransfer\\\\Local\\:
in drupal\\:11\\.2\\.0 and is removed from drupal\\:12\\.0\\.0\\. There is no
+1 −0
Original line number Diff line number Diff line
@@ -845,6 +845,7 @@ services:
    class: Drupal\Core\Archiver\ArchiverManager
    parent: default_plugin_manager
    arguments: ['@file_system']
    deprecated: 'The "%service_id%" service is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3556927'
  plugin.manager.action:
    class: Drupal\Core\Action\ActionManager
    arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
+4 −0
Original line number Diff line number Diff line
@@ -11,6 +11,10 @@
 *
 * For a working example, see \Drupal\system\Plugin\Archiver\Zip
 *
 * @deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no
 *   replacement.
 *
 * @see https://www.drupal.org/node/3556927
 * @see \Drupal\Core\Archiver\ArchiverManager
 * @see \Drupal\Core\Archiver\ArchiverInterface
 * @see plugin_api
+7 −0
Original line number Diff line number Diff line
@@ -2,7 +2,14 @@

namespace Drupal\Core\Archiver;

@trigger_error('\Drupal\Core\Archiver\ArchiverException is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3556927', E_USER_DEPRECATED);

/**
 * Defines an exception class for Drupal\Core\Archiver\ArchiverInterface.
 *
 * @deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no
 *   replacement.
 *
 * @see https://www.drupal.org/node/3556927
 */
class ArchiverException extends \Exception {}
Loading