Skip to content
Snippets Groups Projects
Commit bc9bd02c authored by Theresa Grannum's avatar Theresa Grannum Committed by Adam G-H
Browse files

Issue #3281473 by Theresa.Grannum: Make all things internal and final in...

Issue #3281473 by Theresa.Grannum: Make all things internal and final in Automatic Updates Extensions
parent 0197535e
No related branches found
No related tags found
1 merge request!324Issue #3281473: Make all things @internal and Final(where possible) in automatic_updates_extensions
......@@ -8,8 +8,12 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
/**
* A batch processor for updates.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/
class BatchProcessor {
final class BatchProcessor {
/**
* The session key under which the stage ID is stored.
......
......@@ -10,6 +10,10 @@ use Drupal\package_manager\Stage;
/**
* Defines a service to perform updates for modules and themes.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/
class ExtensionUpdater extends Stage {
......
......@@ -21,7 +21,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* @internal
* Form classes are internal.
*/
class UpdateReady extends FormBase {
final class UpdateReady extends FormBase {
/**
* The updater service.
......
......@@ -16,8 +16,11 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
* A form for selecting extension updates.
*
* @internal
* Form classes are internal.
*/
class UpdaterForm extends FormBase {
final class UpdaterForm extends FormBase {
use ReadinessTrait;
......
......@@ -11,8 +11,12 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
* Validates that updated projects are secure and supported.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/
class UpdateReleaseValidator implements EventSubscriberInterface {
final class UpdateReleaseValidator implements EventSubscriberInterface {
use StringTranslationTrait;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment