GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ClassCoversExistsRule and ClassMethodCoversExistsRule do not support attributes · Issue #289 · phpstan/phpstan-phpunit

ClassCoversExistsRule and ClassMethodCoversExistsRule do not support attributes #289

New issue
Copy link
New issue
Copy link
Open
Open
ClassCoversExistsRule and ClassMethodCoversExistsRule do not support attributes#289
Copy link

Description

@ondrejmirtes
ondrejmirtes
opened on Mar 23, 2026
Issue body actions

These rules should read #[CoversClass] and #[CoversMethod].

Maybe there are opportunities for more rules as well: https://docs.phpunit.de/en/13.0/attributes.html#code-coverage

Once implemented, we can merge this docs update: phpstan/phpstan#14346

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.