Skip to content

🐛 PHP 8.4 deprecations #568

@ToshY

Description

@ToshY

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Bumping to PHP 8.4, noticed deprecations, using jikan-me/jikan: 5.0.0-dev.

2025-01-27T11:45:32.094251875Z Deprecated: Jikan\MyAnimeList\MalClient::__construct(): Implicitly marking parameter $httpClient as nullable is deprecated, the explicit nullable type must be used instead in /app/vendor/jikan-me/jikan/src/MyAnimeList/MalClient.php on line 45
2025-01-27T11:45:32.094757890Z Deprecated: Jikan\Http\HttpClientWrapper::request(): Implicitly marking parameter $content as nullable is deprecated, the explicit nullable type must be used instead in /app/vendor/jikan-me/jikan/src/Http/HttpClientWrapper.php on line 28

There are probably more, just haven't encountered them yet.

Expected Behavior

No deprecation issues.

Steps To Reproduce

No response

Environment

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions