Verified Commit e362dce1 authored by Project Update Bot's avatar Project Update Bot Committed by Lee Rowlands
Browse files

Issue #3296700 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent 124d07c5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

namespace Drupal\Tests\build_hooks_bitbucket\Unit;

use Prophecy\PhpUnit\ProphecyTrait;
use Drupal\build_hooks\BuildHookDetails;
use Drupal\build_hooks_bitbucket\BitbucketManager;
use Drupal\Tests\UnitTestCase;
@@ -14,6 +15,7 @@ use GuzzleHttp\ClientInterface;
 */
class BitbucketManagerTest extends UnitTestCase {

  use ProphecyTrait;
  /**
   * Tests getting build hook details..
   */
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class CircleBuildHookTest extends BuildHooksKernelTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->installConfig('system');
    $this->installConfig('build_hooks_circleci');
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ class NetlifyBuildHooksTest extends BuildHooksKernelTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->installConfig('build_hooks_netlify');
  }
+1 −1
Original line number Diff line number Diff line
@@ -2,12 +2,12 @@

namespace Drupal\build_hooks\Event;

use Symfony\Contracts\EventDispatcher\Event;
use Drupal\build_hooks\BuildHookDetails;
use Drupal\build_hooks\Entity\DeploymentInterface;
use Drupal\build_hooks\Entity\FrontendEnvironmentInterface;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Psr\Http\Message\ResponseInterface;
use Symfony\Component\EventDispatcher\Event;

/**
 * Defines a class for triggering a build.
+1 −1
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@

namespace Drupal\build_hooks\Event;

use Symfony\Contracts\EventDispatcher\Event;
use Psr\Http\Message\ResponseInterface;
use Symfony\Component\EventDispatcher\Event;
use Drupal\build_hooks\Plugin\FrontendEnvironmentInterface;

/**
Loading