Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d8c964c

Browse filesBrowse files
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
2 parents 8881221 + cb14bfd commit d8c964c
Copy full SHA for d8c964c

File tree

3 files changed

+3
-1
lines changed
Filter options

3 files changed

+3
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php
+1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/EventListener/SessionListener.php
+1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Templating/PhpEngine.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.