Problem/Motivation

In the core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php there seems to be a typo about the annotation name, it states #[CoverClass] instead of #[CoversClass]

Steps to reproduce

See docs

Proposed resolution

Update the docs.

Remaining tasks

MR

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Issue fork drupal-3610474

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bramdriesen created an issue. See original summary.

bramdriesen’s picture

Status: Active » Needs review

bramdriesen’s picture

bramdriesen’s picture

bramdriesen’s picture

Title: Typo in doc about #[CoversClass] » MigrateSourceTestBase has a typo about #[CoversClass]
bbrala’s picture

Status: Needs review » Reviewed & tested by the community

Yeah that covers it. ;)

benjifisher’s picture

+1 for RTBC

I searched core/ for "coverclass" (case insensitive) and did not find any other matches.

This typo seems to have been introduced in #3547173: Complete test annotations to attributes conversion for all remaining tests.

  • larowlan committed 12e1396d on 11.4.x
    fix: #3610474 MigrateSourceTestBase has a typo about #[CoversClass]
    
    By...

  • larowlan committed 23143727 on 11.x
    fix: #3610474 MigrateSourceTestBase has a typo about #[CoversClass]
    
    By...

  • larowlan committed 30586256 on main
    fix: #3610474 MigrateSourceTestBase has a typo about #[CoversClass]
    
    By...

larowlan’s picture

Version: main » 11.4.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed 30586256bfd to main and 2314372710d to 11.x and 12e1396dcf2 to 11.4.x. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.