minor #21801 [2.8] Fix issues reported by static analyse (romainneutron)
This PR was merged into the 2.8 branch.
Discussion
----------
[2.8] Fix issues reported by static analyse
| Q | A
| ------------- | ---
| Branch? | 2.8
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
Followup #21800
Commits
-------
cb14bfd
[2.8] Fix issues reported by static analyse
This commit is contained in:
commit
d8c964cae9
@ -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