Closed (won't fix)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
22 Mar 2022 at 01:53 UTC
Updated:
17 May 2022 at 18:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Natallia Kazarynava commentedComment #3
Natallia commentedComment #4
tr commentedYour patch changes an obsolete function with dead code that's unused by the Entity API - see the comment:
That function should not be used anywhere. Back in D7 we did not have a mechanism in Drupal to deprecate functions like this. And even then, removing the function (i.e. changing the API of the Entity API module) would require a version number change.
So, I don't think this is something we should do now - the proper fix would be to remove that obsolete function but we can't do that without changing the version of the code. The error will not be triggered at runtime unless someone actually uses that obsolete function with PHP 8, and if that happens I think it is GOOD that they see an error because they really need to remove their use of that obsolete function - this will ensure they fix their problem.