Title: ClassCoversExistsRule and ClassMethodCoversExistsRule do not support attributes · Issue #289 · phpstan/phpstan-phpunit · GitHub
Open Graph Title: ClassCoversExistsRule and ClassMethodCoversExistsRule do not support attributes · Issue #289 · phpstan/phpstan-phpunit
X Title: ClassCoversExistsRule and ClassMethodCoversExistsRule do not support attributes · Issue #289 · phpstan/phpstan-phpunit
Description: 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/phps...
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/phpstan/phpstan-phpunit/issues/289
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ClassCoversExistsRule and ClassMethodCoversExistsRule do not support attributes","articleBody":"These rules should read `#[CoversClass]` and `#[CoversMethod]`.\n\nMaybe there are opportunities for more rules as well: https://docs.phpunit.de/en/13.0/attributes.html#code-coverage\n\nOnce implemented, we can merge this docs update: https://github.com/phpstan/phpstan/pull/14346","author":{"url":"https://github.com/ondrejmirtes","@type":"Person","name":"ondrejmirtes"},"datePublished":"2026-03-23T09:23:17Z","url":"https://github.com/phpstan/phpstan-phpunit/issues/289"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d536722c-41b1-ee9d-547b-eb65ff0d3ad0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCFC:FCEBB:18BA8B:22E813:6B00665F |
| html-safe-nonce | f00d5e00895d888e65f3e5085958b9807bfd3c938338d6e133edd9fc9f1c671c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0ZDOkZDRUJCOjE4QkE4QjoyMkU4MTM6NkIwMDY2NUYiLCJ2aXNpdG9yX2lkIjoiMjkzMzMwMTkzNDQwMjA3MDExMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ebaeec2fd63cd9cb342e0b150b3c5045e59d9da6b19cc6501130426501d2ce1b |
| hovercard-subject-tag | issue:4119464028 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phpstan/phpstan-phpunit/289/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a4497d507e20bc95dc5b3c2edd9375da6c82ec1ebe78449460cf504f88b504fe/phpstan/phpstan-phpunit/issues/289 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4497d507e20bc95dc5b3c2edd9375da6c82ec1ebe78449460cf504f88b504fe/phpstan/phpstan-phpunit/issues/289 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ondrejmirtes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| turbo-cache-control | no-preview |
| go-import | github.com/phpstan/phpstan-phpunit git https://github.com/phpstan/phpstan-phpunit.git |
| octolytics-dimension-user_id | 16435710 |
| octolytics-dimension-user_login | phpstan |
| octolytics-dimension-repository_id | 105883921 |
| octolytics-dimension-repository_nwo | phpstan/phpstan-phpunit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 105883921 |
| octolytics-dimension-repository_network_root_nwo | phpstan/phpstan-phpunit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width