Make WordPress Core

Changes between Version 1 and Version 11 of Ticket #56033


Ignore:
Timestamp:
06/22/2022 02:08:05 PM (4 years ago)
Author:
jrf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56033

    • Property Keywords has-unit-tests added
  • Ticket #56033 – Description

    v1 v11  
    6969|| 2. || Known, named, dynamic property || Declare the property on the (parent) class ||
    7070|| 3. || Known use of unknown dynamic properties || Declare the full set of magic methods on a class (preferred) or let the class extend `stdClass` (discouraged) ||
    71 || 4. || Unknown use of unknown dynamic properties || Use the `#[AllowDynamicProperties] attribute on the (parent) class and/or declare the full set of magic methods on a class and/or let the class extend `stdClass` ||
     71|| 4. || Unknown use of unknown dynamic properties || Use the `#[AllowDynamicProperties]` attribute on the (parent) class and/or declare the full set of magic methods on a class and/or let the class extend `stdClass` ||
    7272
    7373Note: the `#[AllowDynamicProperties]` attribute is expected to be a temporary solution and it is expected that support for the attribute will be removed at some point in the future.