? ? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
29 Dec 2021

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)

avatar PhilETaylor PhilETaylor - open - 29 Dec 2021
avatar PhilETaylor PhilETaylor - change - 29 Dec 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Dec 2021
Category Administration com_finder Unit Tests
avatar PhilETaylor
PhilETaylor - comment - 29 Dec 2021

Strange but probably @HLeithner was doing, the Drone PHP 8.1 unit tests are being run by PHP 8.0 at the moment...

However, this new Unit test passes :)
Screenshot 2021-12-29 at 16 20 30

avatar PhilETaylor
PhilETaylor - comment - 29 Dec 2021

Drone failure unrelated to PR content.

avatar PhilETaylor PhilETaylor - change - 29 Dec 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 29 Dec 2021
avatar PhilETaylor PhilETaylor - change - 29 Dec 2021
Title
[4][com_finder] - php 8.1 serializable-deprecated
[4][com_finder] - php 8.1 serializable-deprecated with unit test
avatar PhilETaylor PhilETaylor - edited - 29 Dec 2021
avatar PhilETaylor PhilETaylor - change - 29 Dec 2021
Labels Added: ? ?
avatar PhilETaylor PhilETaylor - change - 29 Dec 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 29 Dec 2021
avatar PhilETaylor PhilETaylor - change - 29 Dec 2021
Labels Added: ?
avatar alikon alikon - test_item - 30 Dec 2021 - Tested successfully
avatar alikon
alikon - comment - 30 Dec 2021

I have tested this item ✅ successfully on 50e03bd

on php 7.4 and php 8.1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36482.

avatar HLeithner HLeithner - change - 30 Dec 2021
The description was changed
avatar HLeithner HLeithner - edited - 30 Dec 2021
avatar HLeithner
HLeithner - comment - 30 Dec 2021

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)

avatar PhilETaylor
PhilETaylor - comment - 30 Dec 2021

wow - welcome to 2022 where emoji's still break things.

avatar PhilETaylor
PhilETaylor - comment - 30 Dec 2021

Drone seems to have flagged this PR as passed now, even though some of the suites fail for unrelated reasons.

avatar HLeithner
HLeithner - comment - 30 Dec 2021

Drone seems to have flagged this PR as passed now, even though some of the suites fail for unrelated reasons.

That's ok, all php8+ system tests are allowed to fail and 8.1 unit tests too, also postgres system tests

avatar PhilETaylor PhilETaylor - change - 6 Mar 2022
Labels Added: ?
Removed: ?
avatar PhilETaylor PhilETaylor - change - 7 Mar 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-03-07 18:34:19
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 7 Mar 2022

Add a Comment

Login with GitHub to post a comment