Deprecated PHP warnings.
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- php
- Domain
- authorization
Research direction
Start by reproducing the warnings on PHP 8.3, then inspect inc/types/class-base.php line 14 and inc/admin/namespace.php line 193. Check the affected parameter declarations and verify that the deprecation messages no longer appear when the relevant OAuth2 flows run.
Written by the indexing model from the issue text.
Description
Deprecated: WP\OAuth2\Types\Base::render_form(): Implicitly marking parameter $errors as nullable is deprecated, the explicit nullable type must be used instead in /wp/wp-content/plugins/oauth2/inc/types/class-base.php on line 14
Deprecated: WP\OAuth2\Admin\handle_edit_submit(): Implicitly marking parameter $consumer as nullable is deprecated, the explicit nullable type must be used instead in /wp/wp-content/plugins/oauth2/inc/admin/namespace.php on line 193
Running PHP 8.3.
- Dominant language
- PHP
- Stars
- 175
- Forks
- 45
- Avg merge
- 17h 8m
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WP-API/OAuth2
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Does this enable login to Wordpress using google and does it enable WP to become an OAuth2 server Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·