Draft: Moved renderer to dependency injection, updated comments, set class to final and container to self.
requested to merge issue/simplesamlphp_custom_attributes-3405625:3405625-update-renderer-call into 2.0.x
Cleaning up notices raised from https://git.drupalcode.org/project/simplesamlphp_custom_attributes/-/jobs/277745