Commit 991088ee authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3303902 by tedbow, phenaproxima, dww, TravisCarden: Move ProjectInfo...

Issue #3303902 by tedbow, phenaproxima, dww, TravisCarden: Move ProjectInfo class into package_manager
parent 5e7a84d7
Loading
Loading
Loading
Loading
+1 −1
Changes for automatic_updates_extensions/src/ExtensionUpdater.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
namespace Drupal\automatic_updates_extensions;

use Drupal\automatic_updates\Exception\UpdateException;
use Drupal\automatic_updates\LegacyVersionUtility;
use Drupal\package_manager\LegacyVersionUtility;
use Drupal\package_manager\Event\StageEvent;
use Drupal\package_manager\Exception\StageValidationException;
use Drupal\package_manager\Stage;
+1 −1
Changes for automatic_updates_extensions/src/Form/UpdateReady.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

namespace Drupal\automatic_updates_extensions\Form;

use Drupal\automatic_updates\ProjectInfo;
use Drupal\package_manager\ProjectInfo;
use Drupal\automatic_updates\Validator\StagedDatabaseUpdateValidator;
use Drupal\automatic_updates_extensions\BatchProcessor;
use Drupal\automatic_updates\BatchProcessor as AutoUpdatesBatchProcessor;
+2 −2
Changes for automatic_updates_extensions/src/Validator/UpdateReleaseValidator.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,9 +2,9 @@

namespace Drupal\automatic_updates_extensions\Validator;

use Drupal\automatic_updates\ProjectInfo;
use Drupal\package_manager\ProjectInfo;
use Drupal\automatic_updates_extensions\ExtensionUpdater;
use Drupal\automatic_updates\LegacyVersionUtility;
use Drupal\package_manager\LegacyVersionUtility;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\package_manager\Event\PreApplyEvent;
use Drupal\package_manager\Event\PreCreateEvent;
+2 −2
Changes for automatic_updates_extensions/tests/src/Kernel/Validator/UpdateReleaseValidatorTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

namespace Drupal\Tests\automatic_updates_extensions\Kernel\Validator;

use Drupal\automatic_updates\LegacyVersionUtility;
use Drupal\package_manager\LegacyVersionUtility;
use Drupal\package_manager\Event\PreApplyEvent;
use Drupal\package_manager\Event\PreCreateEvent;
use Drupal\package_manager\ValidationResult;
@@ -129,7 +129,7 @@ class UpdateReleaseValidatorTest extends AutomaticUpdatesExtensionsKernelTestBas
    $this->assertFileIsReadable($active_installed);
    $this->assertFileIsReadable($staged_installed);
    $this->setReleaseMetadata([
      'aaa_automatic_updates_test' => __DIR__ . "/../../../../../tests/fixtures/release-history/aaa_automatic_updates_test.9.8.2.xml",
      'aaa_automatic_updates_test' => __DIR__ . "/../../../../../package_manager/tests/fixtures/release-history/aaa_automatic_updates_test.9.8.2.xml",
      $project => __DIR__ . "/../../../fixtures/release-history/$project.1.1.xml",
      'drupal' => __DIR__ . '/../../../../../tests/fixtures/release-history/drupal.9.8.2.xml',
    ]);
+2 −0
Changes for package_manager/package_manager.info.yml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,3 +3,5 @@ type: module
description: 'API module providing functionality for staging package installs and updates with Composer.'
core_version_requirement: ^9.3
php: 7.4
dependencies:
  - drupal:update
Loading