Skip to content

refactor: migrate to event listeners to resolve deprecations#48

Merged
skjnldsv merged 1 commit into
masterfrom
fix/deprecations
May 20, 2026
Merged

refactor: migrate to event listeners to resolve deprecations#48
skjnldsv merged 1 commit into
masterfrom
fix/deprecations

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented May 20, 2026

OCP\Security\IContentSecurityPolicyManager is deprecated, thus we have to migrate to the listeners approach. So this migrates both the CSP handling and the scripts handling to the listeners.
Also added stubs instead of baseline entries.

`OCP\Security\IContentSecurityPolicyManager` is deprecated,
thus we have to migrate to the listeners approach.
So this migrates both the CSP handling and the scripts handling to the
listeners.
Also added stubs instead of baseline entries.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux requested a review from skjnldsv May 20, 2026 20:26
@susnux susnux added the bug label May 20, 2026
Base automatically changed from chore/increase-php-8-1 to master May 20, 2026 22:48
@skjnldsv skjnldsv merged commit 3692cb7 into master May 20, 2026
20 checks passed
@skjnldsv skjnldsv deleted the fix/deprecations branch May 20, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants