Title: Invalid readme example: Attribute class Qameta\Allure\Attribute\Title does not exist · Issue #95 · allure-framework/allure-phpunit · GitHub
Open Graph Title: Invalid readme example: Attribute class Qameta\Allure\Attribute\Title does not exist · Issue #95 · allure-framework/allure-phpunit
X Title: Invalid readme example: Attribute class Qameta\Allure\Attribute\Title does not exist · Issue #95 · allure-framework/allure-phpunit
Description: Describe the bug Invalid code example in readme. PHPStan reports ` To Reproduce Add Title attribute. Ex.: https://github.com/fey/hexlet-sicp/blob/e851609fc332a0b7a2f66055944ac4bd67f04270/tests/Feature/Http/Controllers/HomeControllerTest....
Open Graph Description: Describe the bug Invalid code example in readme. PHPStan reports ` To Reproduce Add Title attribute. Ex.: https://github.com/fey/hexlet-sicp/blob/e851609fc332a0b7a2f66055944ac4bd67f04270/tests/Feat...
X Description: Describe the bug Invalid code example in readme. PHPStan reports ` To Reproduce Add Title attribute. Ex.: https://github.com/fey/hexlet-sicp/blob/e851609fc332a0b7a2f66055944ac4bd67f04270/tests/Feat...
Opengraph URL: https://github.com/allure-framework/allure-phpunit/issues/95
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid readme example: Attribute class Qameta\\Allure\\Attribute\\Title does not exist","articleBody":"**Describe the bug**\r\nInvalid code example in readme. PHPStan reports `\r\n\r\n**To Reproduce**\r\nAdd Title attribute. Ex.: \r\n\r\nhttps://github.com/fey/hexlet-sicp/blob/e851609fc332a0b7a2f66055944ac4bd67f04270/tests/Feature/Http/Controllers/HomeControllerTest.php#L8\r\n\r\n```php\r\n\u003c?php\r\n\r\nnamespace Tests\\Feature\\Http\\Controllers;\r\n\r\nuse Tests\\TestCase;\r\nuse Qameta\\Allure\\Attribute\\Title;\r\n\r\n#[Title(\"Проверка главной страницы\")]\r\nclass HomeControllerTest extends TestCase\r\n{\r\n #[Title(\"Возможность открытия главной страницы гостем\")]\r\n public function testIndex(): void\r\n {\r\n $response = $this->get(route('home'));\r\n\r\n $response->assertOk();\r\n }\r\n\r\n #[Title(\"Ссылка для dev-логина не видна\")]\r\n public function testNotSeeDevLogin(): void\r\n {\r\n $response = $this->get(route('home'));\r\n\r\n $response->assertDontSee(\r\n route('auth.dev-login')\r\n );\r\n }\r\n}\r\n```\r\n\r\ncheck code with PHPStan\r\n\r\n**Expected behavior**\r\n\r\nPHPStan says its all ok. Test result uploaded to allure instance\r\n\r\n**Screenshots**\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/fey","@type":"Person","name":"fey"},"datePublished":"2023-06-05T18:20:30Z","url":"https://github.com/allure-framework/allure-phpunit/issues/95"}
| 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:b5afdecf-47cf-d0bd-8a4b-0d9d457a3268 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4B0:293FEF:2BBC6E:3CF49C:6AFD744B |
| html-safe-nonce | 84c106838dfb837f3715605065dfa0b92470e3edfcae5a8adf59eef7231ca941 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEIwOjI5M0ZFRjoyQkJDNkU6M0NGNDlDOjZBRkQ3NDRCIiwidmlzaXRvcl9pZCI6IjYzNzIyMjc5Njg1MTIzOTAyMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dce2b894dc91008a6f4b2f7579ea4db7e9a1ce83c90eeaaf76b18cd55c714cf5 |
| hovercard-subject-tag | issue:1742314516 |
| 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/allure-framework/allure-phpunit/95/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6f66697e2d2c6bb933755f4c78dec0d128c9add2dbce9ea593bb0e5bb4a321a6/allure-framework/allure-phpunit/issues/95 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f66697e2d2c6bb933755f4c78dec0d128c9add2dbce9ea593bb0e5bb4a321a6/allure-framework/allure-phpunit/issues/95 |
| og:image:alt | Describe the bug Invalid code example in readme. PHPStan reports ` To Reproduce Add Title attribute. Ex.: https://github.com/fey/hexlet-sicp/blob/e851609fc332a0b7a2f66055944ac4bd67f04270/tests/Feat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fey |
| hostname | github.com |
| expected-hostname | github.com |
| None | e54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032 |
| turbo-cache-control | no-preview |
| go-import | github.com/allure-framework/allure-phpunit git https://github.com/allure-framework/allure-phpunit.git |
| octolytics-dimension-user_id | 5879127 |
| octolytics-dimension-user_login | allure-framework |
| octolytics-dimension-repository_id | 19211209 |
| octolytics-dimension-repository_nwo | allure-framework/allure-phpunit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 19211209 |
| octolytics-dimension-repository_network_root_nwo | allure-framework/allure-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 | 5be0bf2b8cf26f8897d31e6bc3c232d328b12a54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width