Title: Lots of deprecation warnings with PHP version 8.1.7 · Issue #149 · wp-cli/php-cli-tools · GitHub
Open Graph Title: Lots of deprecation warnings with PHP version 8.1.7 · Issue #149 · wp-cli/php-cli-tools
X Title: Lots of deprecation warnings with PHP version 8.1.7 · Issue #149 · wp-cli/php-cli-tools
Description: I'm getting lots of deprecation warning when running this PHP script. It's only with PHP version 8 that this is happening. https://github.com/mikejw/empathy/blob/bootstrap4/bin/empathy `PHP` Deprecated: Return type of cli\Arguments::offs...
Open Graph Description: I'm getting lots of deprecation warning when running this PHP script. It's only with PHP version 8 that this is happening. https://github.com/mikejw/empathy/blob/bootstrap4/bin/empathy `PHP` Deprec...
X Description: I'm getting lots of deprecation warning when running this PHP script. It's only with PHP version 8 that this is happening. https://github.com/mikejw/empathy/blob/bootstrap4/bin/empathy `PHP...
Opengraph URL: https://github.com/wp-cli/php-cli-tools/issues/149
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lots of deprecation warnings with PHP version 8.1.7","articleBody":"I'm getting lots of deprecation warning when running this PHP script. It's only with PHP version 8 that this is happening.\r\n\r\nhttps://github.com/mikejw/empathy/blob/bootstrap4/bin/empathy\r\n\r\n```\r\n`PHP` Deprecated: Return type of cli\\Arguments::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 89\r\n\r\nDeprecated: Return type of cli\\Arguments::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 89\r\nPHP Deprecated: Return type of cli\\Arguments::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 103\r\n\r\nDeprecated: Return type of cli\\Arguments::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 103\r\nPHP Deprecated: Return type of cli\\Arguments::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 119\r\n\r\nDeprecated: Return type of cli\\Arguments::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 119\r\nPHP Deprecated: Return type of cli\\Arguments::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 132\r\n\r\nDeprecated: Return type of cli\\Arguments::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/Arguments.php on line 132\r\nPHP Deprecated: Return type of cli\\arguments\\Lexer::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 36\r\n\r\nDeprecated: Return type of cli\\arguments\\Lexer::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 36\r\nPHP Deprecated: Return type of cli\\arguments\\Lexer::next() should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 52\r\n\r\nDeprecated: Return type of cli\\arguments\\Lexer::next() should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 52\r\nPHP Deprecated: Return type of cli\\arguments\\Lexer::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 63\r\n\r\nDeprecated: Return type of cli\\arguments\\Lexer::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 63\r\nPHP Deprecated: Return type of cli\\arguments\\Lexer::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 84\r\n\r\nDeprecated: Return type of cli\\arguments\\Lexer::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 84\r\nPHP Deprecated: Return type of cli\\arguments\\Lexer::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 71\r\n\r\nDeprecated: Return type of cli\\arguments\\Lexer::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Lexer.php on line 71\r\nPHP Deprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Argument.php on line 80\r\n\r\nDeprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Argument.php on line 80\r\nPHP Deprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Argument.php on line 89\r\n\r\nDeprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /Users/mike/code/mikejw/empathy-php8/vendor/wp-cli/php-cli-tools/lib/cli/arguments/Argument.php on line 89\r\n```\r\n","author":{"url":"https://github.com/mikejw","@type":"Person","name":"mikejw"},"datePublished":"2022-06-19T19:49:16Z","url":"https://github.com/wp-cli/php-cli-tools/issues/149"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:be2a9abf-6e60-a5a8-a342-8298f4098717 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB6C:110E43:3AD85D1:4DE3DF6:6AFA24FD |
| html-safe-nonce | b032a939ce0994e35da4c87f1b2db2fa915a442980e6d703a6d7c9fd7e9f67ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjZDOjExMEU0MzozQUQ4NUQxOjRERTNERjY6NkFGQTI0RkQiLCJ2aXNpdG9yX2lkIjoiNjQxNzEwNDc1ODkzODE1MDE0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eaa2496e00949fa19a54976b92694bbfc6697dad589b1a435627a007d44a2478 |
| hovercard-subject-tag | issue:1276151306 |
| 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/wp-cli/php-cli-tools/149/issue_layout |
| twitter:image | https://opengraph.githubassets.com/603c16fb5ab88a549ba05d12fca7ee3e793f278fde99b13fa3082daba9cc6d03/wp-cli/php-cli-tools/issues/149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/603c16fb5ab88a549ba05d12fca7ee3e793f278fde99b13fa3082daba9cc6d03/wp-cli/php-cli-tools/issues/149 |
| og:image:alt | I'm getting lots of deprecation warning when running this PHP script. It's only with PHP version 8 that this is happening. https://github.com/mikejw/empathy/blob/bootstrap4/bin/empathy `PHP` Deprec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mikejw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/wp-cli/php-cli-tools git https://github.com/wp-cli/php-cli-tools.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 587642 |
| octolytics-dimension-repository_nwo | wp-cli/php-cli-tools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587642 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/php-cli-tools |
| 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 | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width