Skip to content

Conversation

adamziel
Copy link
Collaborator

Adds ? to ?Throwable previous = null to fix this deprecation warning:

[11-Jun-2025 18:07:04 UTC] PHP Deprecated: WP_SQLite_Information_Schema_Exception::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /internal/shared/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-information-schema-exception.php on line 38

cc @draganescu – are there any other deprecation warnings you've seen?

…a-exception.php

Adds `?` to `?Throwable previous = null` to fix this deprecation warning:

[11-Jun-2025 18:07:04 UTC] PHP Deprecated:  WP_SQLite_Information_Schema_Exception::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /internal/shared/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-information-schema-exception.php on line 38
Copy link

@draganescu draganescu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to do what the error says we should do 🤝

@adamziel adamziel merged commit 14fe48e into develop Jun 12, 2025
12 checks passed
@adamziel adamziel mentioned this pull request Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants