e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

[PHP 8.3] Fix `get_class()` deprecations #5060

Closed Ayesh closed 10 months ago

Ayesh commented 10 months ago

Motivation and Context

In PHP 8.3, calling get_class() and get_parent_class() functions without arguments is deprecated.

This fixes tests using get_class() pattern with identical alternatives that do not cause the deprecation notice.

References:

How Has This Been Tested?

Types of Changes

Checklist