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
No related merge requests found
...@@ -8,8 +8,12 @@ use Symfony\Component\HttpFoundation\RedirectResponse; ...@@ -8,8 +8,12 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
/** /**
* A batch processor for updates. * 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. * The session key under which the stage ID is stored.
......
...@@ -10,6 +10,10 @@ use Drupal\package_manager\Stage; ...@@ -10,6 +10,10 @@ use Drupal\package_manager\Stage;
/** /**
* Defines a service to perform updates for modules and themes. * 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 { class ExtensionUpdater extends Stage {
......
...@@ -21,7 +21,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; ...@@ -21,7 +21,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* @internal * @internal
* Form classes are internal. * Form classes are internal.
*/ */
class UpdateReady extends FormBase { final class UpdateReady extends FormBase {
/** /**
* The updater service. * The updater service.
......
...@@ -16,8 +16,11 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface; ...@@ -16,8 +16,11 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/** /**
* A form for selecting extension updates. * A form for selecting extension updates.
*
* @internal
* Form classes are internal.
*/ */
class UpdaterForm extends FormBase { final class UpdaterForm extends FormBase {
use ReadinessTrait; use ReadinessTrait;
......
...@@ -11,8 +11,12 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -11,8 +11,12 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Validates that updated projects are secure and supported. * 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; 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