Review main Merged

78004[TASK] Make password policy ContextData DTO more flexible

Torben Hansen CR +2 V +2 Normal +114 −40 updated 03/06/23, 09:35

Commit message

The current ContextData DTO contains a fixed set of
properties for usage in password policy validators.

In order to make the DTO more flexible, the class now
internally uses an array to store data as key/value pairs.
Additionally, the methods `getData()` and `setData()` have
been added, which extension authors can use in upcoming
PSR-14 events in order to enrich the object with custom
data.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2