Describe the current, buggy behavior
When running the wp i18n make-pot command in PHP 8.2, it throws the following error:
PHP Deprecated: Use of "static" in callables is deprecated in ../vendor/wp-cli/i18n-command/src/IterableCodeExtractor.php on line 245
PHP Deprecated: Use of "static" in callables is deprecated in ../vendor/wp-cli/i18n-command/src/IterableCodeExtractor.php on line 246
Describe how other contributors can replicate this bug
The command I am using is:
Bug Report
Describe the current, buggy behavior When running the
wp i18n make-pot
command in PHP 8.2, it throws the following error:Describe how other contributors can replicate this bug The command I am using is:
Describe what you would expect as the correct outcome
No errors being output to the console.
Let us know what environment you are running this on
Provide a possible solution
Provide additional context/Screenshots