CheckServerResponseTraitImplementation.php 930 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace Test\SetupCheck;
  8. use OCP\Http\Client\IClientService;
  9. use OCP\IConfig;
  10. use OCP\IL10N;
  11. use OCP\IURLGenerator;
  12. use OCP\SetupCheck\CheckServerResponseTrait;
  13. use Psr\Log\LoggerInterface;
  14. /**
  15. * Dummy implementation for CheckServerResponseTraitTest
  16. */
  17. class CheckServerResponseTraitImplementation {
  18. use CheckServerResponseTrait {
  19. CheckServerResponseTrait::getRequestOptions as public;
  20. CheckServerResponseTrait::runRequest as public;
  21. CheckServerResponseTrait::normalizeUrl as public;
  22. CheckServerResponseTrait::getTestUrls as public;
  23. }
  24. public function __construct(
  25. protected IL10N $l10n,
  26. protected IConfig $config,
  27. protected IURLGenerator $urlGenerator,
  28. protected IClientService $clientService,
  29. protected LoggerInterface $logger,
  30. ) {
  31. }
  32. }