Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postpone Sanitizer deprecations #99

Closed
ohader opened this issue Dec 5, 2022 · 0 comments · Fixed by #100
Closed

Postpone Sanitizer deprecations #99

ohader opened this issue Dec 5, 2022 · 0 comments · Fixed by #100

Comments

@ohader
Copy link
Member

ohader commented Dec 5, 2022

The deprecation introduced with PR #98 at

if (!$this->behavior instanceof Behavior) {
trigger_error(
'Add `Behavior` when creating new `Sanitizer` instances, e.g. `new Sanitizer($behavior, $visitor)`',
E_USER_DEPRECATED
);
}
has to be postponed to a later release, since chances are high that it leads to more trouble in individual build processes, e.g. like https://git.typo3.org/typo3/CI/cms/-/pipelines/34627

ohader added a commit to ohader/html-sanitizer that referenced this issue Dec 5, 2022
Postpone deprecation messages after v2.1.0 release.

Fixes: TYPO3#99
ohader added a commit that referenced this issue Dec 5, 2022
Postpone deprecation messages after v2.1.0 release.

Fixes: #99
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant