Problem/Motivation

#2307681: getEntityTypeFromStaticClass - poor performance removed Entity::getEntityTypeFromStaticClass but didn't clean up @covers annotations for that method » phpunit code coverage report fails with Trying to @cover or @use not existing method "\Drupal\Core\Entity\Entity::getEntityTypeFromStaticClass".

Proposed resolution

Remove @covers notes.
Remove another @see left behind.

Remaining tasks

Review

User interface changes

None

API changes

None

CommentFileSizeAuthor
phpunitcoverage.patch1.49 KBlarowlan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

larowlan’s picture

jibran’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix

Thank you for catching this.

moshe weitzman’s picture

Sorry about that. Deleting code was never this tricky!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 06278dc and pushed to 8.0.x. Thanks!

  • alexpott committed 06278dc on 8.0.x
    Issue #2324293 by larowlan: Fixed PHPUnit code coverage broken.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.