[2.8] Fix issues reported by static analyse
This commit is contained in:
parent
8881221244
commit
cb14bfd166
@ -14,6 +14,7 @@ namespace Symfony\Bundle\FrameworkBundle\CacheWarmer;
|
||||
use Symfony\Component\HttpKernel\KernelInterface;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
use Symfony\Component\Templating\TemplateNameParserInterface;
|
||||
use Symfony\Component\Templating\TemplateReferenceInterface;
|
||||
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
|
||||
|
||||
/**
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
namespace Symfony\Component\HttpKernel\EventListener;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
|
||||
use Symfony\Component\HttpKernel\KernelEvents;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
|
@ -455,7 +455,7 @@ class PhpEngine implements EngineInterface, \ArrayAccess
|
||||
$value = iconv($that->getCharset(), 'UTF-8', $value);
|
||||
}
|
||||
|
||||
$callback = function ($matches) use ($that) {
|
||||
$callback = function ($matches) {
|
||||
$char = $matches[0];
|
||||
|
||||
// \xHH
|
||||
|
Reference in New Issue
Block a user