We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, In Symfony 5.4, there is a deprecation on in Grid/Grid.php line 579 :
Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated
Here is a possible fix :
private function removeAccents($str) { + if(!$str instanceof string) + { + return $str; + } $entStr = htmlentities($str, ENT_NOQUOTES, 'UTF-8'); $noaccentStr = preg_replace('#&([A-za-z])(?:acute|cedil|circ|grave|orn|ring|slash|th|tilde|uml);#', '\1', $entStr); return preg_replace('#&([A-za-z]{2})(?:lig);#', '\1', $noaccentStr); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
In Symfony 5.4, there is a deprecation on in Grid/Grid.php line 579 :
Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated
Here is a possible fix :
The text was updated successfully, but these errors were encountered: