Skip to content

Fix #761: Replace deprecated get_class() call without arguments#762

Merged
amazeika merged 1 commit into
masterfrom
fix/761-php83-get_class
May 28, 2026
Merged

Fix #761: Replace deprecated get_class() call without arguments#762
amazeika merged 1 commit into
masterfrom
fix/761-php83-get_class

Conversation

@amazeika
Copy link
Copy Markdown
Member

Closes #761.

PHP 8.3 deprecates calling get_class() without arguments. This replaces the no-arg call in KCommandMixin::addCommandCallback() with self::class (the exact equivalent — the defining class name).

PHP 8.3 deprecates calling get_class() with no arguments. Use self::class
in KCommandMixin::addCommandCallback() instead.
@amazeika amazeika merged commit dd3f995 into master May 28, 2026
1 check passed
@amazeika amazeika deleted the fix/761-php83-get_class branch May 28, 2026 14:54
@amazeika amazeika mentioned this pull request May 28, 2026
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.

PHP 8.3 deprecation: get_class() called without arguments in KCommandMixin

1 participant