-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4][com_finder] - php 8.1 serializable-deprecated with unit test #36482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
|
I have tested this item ✅ successfully on 50e03bd This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36482. |
|
Can you make an update to the branch to retrigger drone (emojis in the description... I think I have to check drone why this happens maybe mb4 on mysql) |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
That's ok, all php8+ system tests are allowed to fail and 8.1 unit tests too, also postgres system tests |
replacement of #36473 with Unit tests that run before and after with success (although correctly, before this PR the unit test has the deprecation warning.
@richard67 @alikon
Summary of Changes
added magic method
Testing Instructions
php 8.1
on frontend do a search
check the log
Actual result BEFORE applying this Pull Request
PHP Deprecated: The Serializable interface is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
Expected result AFTER applying this Pull Request
no more deprecation
Note
This is our FIRST EVER Unit test for a method in Joomla 4 Extensions it seems... woot woot (also see: #36483)