Issue #3311383 by andypost, Berdir: Apply #[\AllowDynamicProperties] attribute to core classes to allow contrib has less noise in logs