Title: PHP 8.1 Deprecated - Return type of `RequirementCollection::count` · Issue #1027 · phpbench/phpbench · GitHub
Open Graph Title: PHP 8.1 Deprecated - Return type of `RequirementCollection::count` · Issue #1027 · phpbench/phpbench
X Title: PHP 8.1 Deprecated - Return type of `RequirementCollection::count` · Issue #1027 · phpbench/phpbench
Description: Receiving the following error when running. PHP 8.1 PHPBench 1.2.10 Deprecated: Return type of HumbugBox3111\KevinGH\RequirementChecker\RequirementCollection::count() should either be compatible with Countable::count(): int, or the #[\Re...
Open Graph Description: Receiving the following error when running. PHP 8.1 PHPBench 1.2.10 Deprecated: Return type of HumbugBox3111\KevinGH\RequirementChecker\RequirementCollection::count() should either be compatible wi...
X Description: Receiving the following error when running. PHP 8.1 PHPBench 1.2.10 Deprecated: Return type of HumbugBox3111\KevinGH\RequirementChecker\RequirementCollection::count() should either be compatible wi...
Opengraph URL: https://github.com/phpbench/phpbench/issues/1027
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PHP 8.1 Deprecated - Return type of `RequirementCollection::count`","articleBody":"Receiving the following error when running.\r\n\r\n1. PHP 8.1\r\n2. PHPBench 1.2.10\r\n\r\n```\r\nDeprecated: Return type of HumbugBox3111\\KevinGH\\RequirementChecker\\RequirementCollection::count() \r\nshould either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute \r\nshould be used to temporarily suppress the notice in phar://E:/scripts/phpbench/phpbench.phar/.box/src/RequirementCollection.php on line 16\r\n```\r\n\r\nAttempted to temporarily suppress the deprecated error using the following phpbench.json but the error remains.\r\n```json\r\n{\r\n \"runner.php_disable_ini\": true,\r\n \"runner.php_config\": {\r\n \"error_reporting\": \"24567\",\r\n \"display_errors\": \"Off\",\r\n }\r\n}\r\n```","author":{"url":"https://github.com/lipemat","@type":"Person","name":"lipemat"},"datePublished":"2023-06-29T15:56:17Z","url":"https://github.com/phpbench/phpbench/issues/1027"}
| 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:c21cb6b9-fc7a-d8fe-3b4f-ec8097d83e0b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC28:83A5C:C3C8C:109E7C:6B046376 |
| html-safe-nonce | cd1569b6faa53174f684ada636fbd94b7296daf4ce75f7a2fd84eb7a11fd7e40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzI4OjgzQTVDOkMzQzhDOjEwOUU3Qzo2QjA0NjM3NiIsInZpc2l0b3JfaWQiOiIxNzYzMjY5MDM1Mjc1MDg0NjYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 99831bd76dc3462ef25a5c372834525d4d5ff64ff29200eff9d4cabc7a4383ce |
| hovercard-subject-tag | issue:1781117179 |
| 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/phpbench/phpbench/1027/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1eb4fcaa4cad42daf40e7b94953962667bf642e7f3c84c2363c1d8c74b2f090d/phpbench/phpbench/issues/1027 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1eb4fcaa4cad42daf40e7b94953962667bf642e7f3c84c2363c1d8c74b2f090d/phpbench/phpbench/issues/1027 |
| og:image:alt | Receiving the following error when running. PHP 8.1 PHPBench 1.2.10 Deprecated: Return type of HumbugBox3111\KevinGH\RequirementChecker\RequirementCollection::count() should either be compatible wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lipemat |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6 |
| turbo-cache-control | no-preview |
| go-import | github.com/phpbench/phpbench git https://github.com/phpbench/phpbench.git |
| octolytics-dimension-user_id | 12785153 |
| octolytics-dimension-user_login | phpbench |
| octolytics-dimension-repository_id | 34982189 |
| octolytics-dimension-repository_nwo | phpbench/phpbench |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34982189 |
| octolytics-dimension-repository_network_root_nwo | phpbench/phpbench |
| 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 | 03e114520787ad27289207f153520ef97461127c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width