Skip to content

Commit cb14bfd

Browse files
committed
[2.8] Fix issues reported by static analyse
1 parent 8881221 commit cb14bfd

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\Component\HttpKernel\KernelInterface;
1515
use Symfony\Component\Finder\Finder;
1616
use Symfony\Component\Templating\TemplateNameParserInterface;
17+
use Symfony\Component\Templating\TemplateReferenceInterface;
1718
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
1819

1920
/**

src/Symfony/Component/HttpKernel/EventListener/SessionListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\HttpKernel\EventListener;
1313

14+
use Symfony\Component\HttpFoundation\Session\SessionInterface;
1415
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
1516
use Symfony\Component\HttpKernel\KernelEvents;
1617
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

src/Symfony/Component/Templating/PhpEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ function ($value) use ($that) {
455455
$value = iconv($that->getCharset(), 'UTF-8', $value);
456456
}
457457

458-
$callback = function ($matches) use ($that) {
458+
$callback = function ($matches) {
459459
$char = $matches[0];
460460

461461
// \xHH

0 commit comments

Comments
 (0)