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

The default of html_entity_decode changed with PHP 8.1 #32

Open
jofranz opened this issue Mar 29, 2023 · 1 comment
Open

The default of html_entity_decode changed with PHP 8.1 #32

jofranz opened this issue Mar 29, 2023 · 1 comment
Labels
question Further information is requested
Milestone

Comments

@jofranz
Copy link
Member

jofranz commented Mar 29, 2023

FILE: de.systopia.civioffice/CRM/Civioffice/Form/Task/CreateDocumentsTrait.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 197 | ERROR | The default value of the $flags parameter for html_entity_decode() was changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 in PHP 8.1. For cross-version compatibility, the $flags
     |       | parameter should be explicitly set.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@jensschuppe jensschuppe added the question Further information is requested label Sep 7, 2023
@jensschuppe jensschuppe added this to the 1.0 milestone Sep 7, 2023
@jensschuppe
Copy link
Contributor

This needs a check whether this has any negative effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants