Make WordPress Core

Changeset 53856


Ignore:
Timestamp:
08/07/2022 04:53:30 PM (22 months ago)
Author:
SergeyBiryukov
Message:

Code Modernization: Let MockClass extend stdClass.

This allows for arbitrary properties to be declared on it.

Alternatively, the MockClass could be deprecated altogether in favor of directly using stdClass where needed.

Follow-up to [53/tests], [65/tests], [53557], [53558], [53850], [53851], [53852], [53853], [53854].

Props jrf.
See #56033.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.