src/Helper/EscaperHelper.php
Method initializeEscapers
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function initializeEscapers(): void
{
$flags = \ENT_NOQUOTES | \ENT_SUBSTITUTE;
$this->escapers = [
Avoid too many return
statements within this method. Open
Open
return \addcslashes($value, "\x00..\x1F!\"#$%&'()*+,./:;<=>?@[\\]^`{|}~");