Skip to content

Conversation

@PhilETaylor
Copy link
Contributor

@PhilETaylor PhilETaylor commented Dec 29, 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)

@PhilETaylor

This comment was marked as abuse.

@PhilETaylor

This comment was marked as abuse.

@alikon alikon added the PHP 8.x PHP 8.x deprecated issues label Dec 29, 2021
@alikon
Copy link
Contributor

alikon commented Dec 30, 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.

@HLeithner
Copy link
Member

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)

@PhilETaylor

This comment was marked as abuse.

@PhilETaylor

This comment was marked as abuse.

@HLeithner
Copy link
Member

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

@chmst chmst changed the base branch from 4.0-dev to 4.1-dev January 31, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PHP 8.x PHP 8.x deprecated issues Unit/System Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants