Commit 4f15bfbd authored by catch's avatar catch
Browse files

task: #3555692 [November 2026] Replace @legacy-covers method level annotations...

task: #3555692 [November 2026] Replace @legacy-covers method level annotations with @see and prevent new ones from being added

By: mondrake
By: longwave
By: smustgrave
By: catch
By: dcam
By: larowlan
By: godotislate
By: xjm
By: dries
By: mstrelan
(cherry picked from commit 052a3cde)
parent 822976f7
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ public function setUp():void {
  /**
   * Test the ValidateUrl() method.
   *
   * @legacy-covers \Drupal\announcements_feed\AnnounceFetcher::validateUrl
   * @see \Drupal\announcements_feed\AnnounceFetcher::validateUrl
   */
  #[DataProvider('urlProvider')]
  public function testValidateUrl(string $url, bool $isValid): void {
+1 −1
Changes for core/modules/automated_cron/tests/src/Kernel/AutomatedCronTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class AutomatedCronTest extends KernelTestBase {
  /**
   * Tests that automated cron does not run cron on a CLI request.
   *
   * @legacy-covers \Drupal\automated_cron\EventSubscriber\AutomatedCron::onTerminate
   * @see \Drupal\automated_cron\EventSubscriber\AutomatedCron::onTerminate
   */
  public function testCronDoesNotRunOnCliRequest(): void {
    // Set automated_cron interval and times.
+2 −2
Changes for core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class BigPipeResponseAttachmentsProcessorTest extends UnitTestCase {
  /**
   * Tests non html response.
   *
   * @legacy-covers ::processAttachments
   * @see ::processAttachments
   */
  #[DataProvider('nonHtmlResponseProvider')]
  public function testNonHtmlResponse(string $response_class): void {
@@ -61,7 +61,7 @@ public static function nonHtmlResponseProvider(): array {
  /**
   * Tests html response.
   *
   * @legacy-covers ::processAttachments
   * @see ::processAttachments
   */
  #[DataProvider('attachmentsProvider')]
  public function testHtmlResponse(array $attachments): void {
+1 −1
Changes for core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ class FiberPlaceholderTest extends UnitTestCase {
  /**
   * Tests long placeholder fiber suspending loop.
   *
   * @legacy-covers \Drupal\big_pipe\Render\BigPipe::sendPlaceholders
   * @see \Drupal\big_pipe\Render\BigPipe::sendPlaceholders
   */
  public function testLongPlaceholderFiberSuspendingLoop(): void {
    $request_stack = $this->prophesize(RequestStack::class);
+1 −1
Changes for core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ class ManyPlaceholderTest extends UnitTestCase {
  /**
   * Tests many no js place holders.
   *
   * @legacy-covers \Drupal\big_pipe\Render\BigPipe::sendNoJsPlaceholders
   * @see \Drupal\big_pipe\Render\BigPipe::sendNoJsPlaceholders
   */
  public function testManyNoJsPlaceHolders(): void {
    $session = $this->prophesize(SessionInterface::class);
Loading